CNode

ubuntu 安装meanio时报错,有人遇到这种情况吗?遇到了是怎么解决的,请帮忙!

问答
Mmaschzh发布于11 年前最后回复11 年前4 回复5243 浏览0 收藏

我在sudo npm install meanio时报一下错误,有人遇到过吗?遇到了是怎么解决的,请帮忙! Failed at the meanio@0.7.1 postinstall script 'cd ./lib/core_modules/server && npm install && cd ../../..'. npm ERR! This is most likely a problem with the meanio package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cd ./lib/core_modules/server && npm install && cd ../../.. npm ERR! You can get their info via: npm ERR! npm owner ls meanio npm ERR! There is likely additional logging output above.

查看回复

回复 (4)

I
i5ting#1·11 年前

当前目录问题

M
maschzh#2·11 年前
引用 i5ting当前目录问题

@i5ting 谢谢你的解答,但是我这个目录在安装其他的插件时没有问题的,只有安装meanio就报这个错

I
i5ting#3·11 年前
引用 maschzh@i5ting 谢谢你的解答,但是我这个目录在安装其他的插件时没有问题的,只有安装meanio就报这个错

@maschzh

  • 检查路径
  • 也有可能是这个npm的问题,所以,可以试着读一下源码,对你也是个提高阿
D
dayuoba#4·11 年前

https://github.com/linnovate/meanio/issues/45 github 上有个解决方案可以参考一下和你一样的报错 还有先sudo npm install mean-cli 再sudo npm install meanio 我在机器上安装成功

参与回复
登录后即可参与回复。登录