如何解决此错误: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?

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

问题描述

我最近从旧版本升级到了meteor 1.4.1.1.但现在我似乎无法再启动我的应用了!

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

帮助!

升级后,我进入我的应用程序目录,然后运行meteor --port 7123",它曾经(工作)在以前的流星版本中启动我的应用程序,但似乎无法解决此错误消息:

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:

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

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.

一些研究表明,错误中的 ENOENT 表示 Error NO ENTity.我的文件可能有问题,或者我的文件路径或名称错误.我该如何纠正?

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?

任何帮助将不胜感激.

推荐答案

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

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

如果你的环境是Ubuntu,那么打开终端并粘贴

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

sudo -i gedit /etc/hosts

在文件末尾粘贴:54.192.225.217仓库.meteor.com".保存并关闭.现在运行您的应用程序.

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天全站免登陆