Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
491 views
in Technique[技术] by (71.8m points)

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...