javascript - weex-toolkit安装时候的报错
怪我咯
怪我咯 2017-04-11 12:19:33
[JavaScript讨论组]

mac系统命令行安装weex-toolkit@beta ,总是安装不上。报错信息如下:

Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "weex-toolkit@beta" "weexpack"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! weex-toolkit@1.0.1-beta.6 postinstall: `xtoolkit install weex-builder`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the weex-toolkit@1.0.1-beta.6 postinstall script 'xtoolkit install weex-builder'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the weex-toolkit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     xtoolkit install weex-builder
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs weex-toolkit
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls weex-toolkit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

请问大大们怎么解决,已经两天了。。。

怪我咯
怪我咯

走同样的路,发现不同的人生

全部回复(2)
PHP中文网

问题已经解决了,跟node版本没有关系,只要是6.0.0以上就可以。解决问题的关键在于把要node_modules这个路径读写权限打开就行了。

伊谢尔伦

node.js你下载V.7.5.0的版本试一下。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号