我在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.
当前目录问题
@i5ting 谢谢你的解答,但是我这个目录在安装其他的插件时没有问题的,只有安装meanio就报这个错
- 检查路径
- 也有可能是这个npm的问题,所以,可以试着读一下源码,对你也是个提高阿
https://github.com/linnovate/meanio/issues/45 github 上有个解决方案可以参考一下和你一样的报错 还有先sudo npm install mean-cli 再sudo npm install meanio 我在机器上安装成功