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

丶灬走出姿态 提交于 2019-11-27 01:27:37

问题


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:

After running meteor --port 7123 I get: Downloading meteor-tool@1.1.10... 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.


回答1:


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.



来源:https://stackoverflow.com/questions/39153477/how-do-i-resolve-this-error-enoent-no-such-file-or-file-or-directory-open-t

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!