Search code examples
javascriptcordovameteorenoent

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.


Solution

  • 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.