码迷,mamicode.com
首页 > 其他好文 > 详细

yorkie@ install

时间:2020-05-11 10:36:06      阅读:260      评论:0      收藏:0      [点我收藏+]

标签:port   cycle   mod   orm   tac   and   life   win   oca   

1218 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
1219 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1220 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
1220 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
1220 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
1220 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
1221 verbose stack Error: yorkie@2.0.0 install: `node bin/install.js`
1221 verbose stack Exit status 1
1221 verbose stack     at EventEmitter.<anonymous> (/usr/local/node/node-v10.13.0-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
1221 verbose stack     at EventEmitter.emit (events.js:182:13)
1221 verbose stack     at ChildProcess.<anonymous> (/usr/local/node/node-v10.13.0-linux-x64/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
1221 verbose stack     at ChildProcess.emit (events.js:182:13)
1221 verbose stack     at maybeClose (internal/child_process.js:962:16)
1221 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
1222 verbose pkgid yorkie@2.0.0

解决办法:

1.不要使用root权限安装,应该sudo npm install

yorkie@ install

标签:port   cycle   mod   orm   tac   and   life   win   oca   

原文地址:https://www.cnblogs.com/zhengze/p/12867425.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!