Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I resolve this Error: ENOENT: no such file or file or directory, open '/tmp/mt-1miyjxv/os.json' at error native?

I recently upgraded to meteor 1.4.1.1 from an older version. But now I cant seem to start my app anymore!

Help!

After upgrading, I get into the directory of my app then run "meteor --port 7123" which used to (work) fire-up my app in the previous meteor version, but cant seem to get past this error message:

This is a screenshot of the error message that I get while trying to start my app

After running meteor --port 7123 I get: Downloading [email protected]... this process never completes, then comes the error message indicated in the attached message.

A little research shows that the ENOENT in the error means Error NO ENTity. and I might have a problem with the file, or maybe my path or name of file is wrong. How do I correct this?

Any help would be greatly appreciated.

like image 539
SirBT Avatar asked Aug 25 '16 19:08

SirBT


People also ask

What does error code Enoent mean?

It's an abbreviation of Error NO ENTry (or Error NO ENTity), and can actually be used for more than files/directories. It's abbreviated because C compilers at the dawn of time didn't support more than 8 characters in symbols. Follow this answer to receive notifications. edited Jun 4, 2019 at 14:30. community wiki.


1 Answers

Adding "54.192.225.217 warehouse.meteor.com" to my host file fixed the issue.

If your environment is Ubuntu, then open the terminal and paste

sudo -i gedit /etc/hosts

Paste: "54.192.225.217 warehouse.meteor.com" at the end of the file. save and close. Now run your app.

like image 52
SirBT Avatar answered Oct 13 '22 00:10

SirBT