1. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/chokidar/node_modules/fsevents):
  2. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  3. npm ERR! Linux 3.10.0-229.14.1.el7.x86_64
  4. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
  5. npm ERR! node v6.9.1
  6. npm ERR! npm v3.10.8
  7. npm ERR! path ../jsesc/bin/jsesc
  8. npm ERR! code EPROTO
  9. npm ERR! errno -71
  10. npm ERR! syscall symlink
  11. npm ERR! EPROTO: protocol error, symlink '../jsesc/bin/jsesc' -> '/usr/share/nginx/html/youliao.play/frontend/node_modules/@babel/generator/node_modules/.bin/jsesc'
  12. npm ERR!
  13. npm ERR! If you need help, you may report this error at:
  14. npm ERR! <https://github.com/npm/npm/issues>
  15. npm ERR! Please include the following file with any support request:
  16. npm ERR! /usr/share/nginx/html/youliao.play/frontend/npm-debug.log
  17. npm ERR! code 1

只要这样子就可以啦:

  1. npm install --no-bin-links

分类: web

标签:   npm