首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rails-ShareTribe。npm安装错误(ubuntu 16.04)

Rails-ShareTribe。npm安装错误(ubuntu 16.04)
EN

Stack Overflow用户
提问于 2016-07-09 20:26:27
回答 0查看 234关注 0票数 1

我是Ruby和Ruby on Rails的新手,我刚刚设法安装了我的服务器的RonR。我的问题是,当我尝试安装一个名为ShareTribe的平台时,尽管在bunde install之前一切都很顺利,npm install却出现了这个错误:

代码语言:javascript
复制
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code EBADPLATFORM

npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.0.12
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! Please include the following file with any support request:
npm ERR!     /home/srv/rails/sharetribe/client/npm-debug.log

npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! @ postinstall: `cd client && npm install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ postinstall script 'cd client && npm install'.
npm ERR! This is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cd client && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs 
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls 
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/srv/rails/sharetribe/npm-debug.log`

我意识到的是,我的操作系统导致了这种情况(Darwin,又名。Mac OSX是有效的操作系统)

我猜对了吗?如果是,有没有办法在Ubuntu上安装这个平台?如果没有,我如何纠正这个错误?

提前谢谢你!

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38281786

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档