如何解决这个错误:ENOENT:没有这样的文件或文件或目录,打开“/tmp/mt-1miyjxv/os.json”在错误原生? [英] How do I resolve this Error: ENOENT: no such file or file or directory, open '/tmp/mt-1miyjxv/os.json' at error native?

查看:662
本文介绍了如何解决这个错误:ENOENT:没有这样的文件或文件或目录,打开“/tmp/mt-1miyjxv/os.json”在错误原生?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从旧版本升级到meteor 1.4.1.1。



升级后,我进入了目录下的我的应用程序,然后运行meteor --port 7123,它曾用于(工作)启动我的应用程序在以前的流星版本,但似乎不能通过此错误消息:





运行meteor后 - 端口7123我得到:
下载meteor-tool@1.1.10 ...这个过程永远不会完成,然后是附加的消息中指出的错误消息。



一点研究表明,ENOENT中的错误意味着Error NO ENTity。我可能有一个问题的文件,或者我的路径或文件名称是错误的。如何更正此问题?



任何帮助将非常感谢。

解决方案

将54.192.225.217 warehouse.meteor.com添加到我的主机文件中解决了问题。



如果您的环境是Ubuntu,请打开终端并粘贴

  sudo -i gedit / etc / hosts 

粘贴:54.192.225.217 warehouse.meteor.com 。保存并关闭。现在运行你的应用程序。


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.

解决方案

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.

这篇关于如何解决这个错误:ENOENT:没有这样的文件或文件或目录,打开“/tmp/mt-1miyjxv/os.json”在错误原生?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆