Skip to content

"npm install" error on centos  #43

Description

@406639

Please help me
When I run "npm install " error like this:
======================================================================[root@centos7-137 web]# npm install
npm WARN deprecated gulp-jsdoc@0.1.5: This project is deprecated. Use gulp-jsdoc3 instead.
npm WARN deprecated wrench@1.3.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.

jsdoc@3.3.0-alpha5 postinstall /opt/Spika/web/node_modules/gulp-jsdoc/node_modules/jsdoc
node ./node/postinstall.js

Unable to create a symbolic link from /opt/Spika/web/node_modules/gulp-jsdoc/node_modules/jsdoc/lib/jsdoc to /opt/Spika/web/node_modules/gulp-jsdoc/node_modules/jsdoc/node_modules/jsdoc. Error: EACCES: permission denied, symlink '/opt/Spika/web/node_modules/gulp-jsdoc/node_modules/jsdoc/lib/jsdoc' -> '/opt/Spika/web/node_modules/gulp-jsdoc/node_modules/jsdoc/node_modules/jsdoc'

spika@0.0.1 /opt/Spika/web
└── (empty)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN spika@0.0.1 No repository field.
npm WARN spika@0.0.1 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! jsdoc@3.3.0-alpha5 postinstall: node ./node/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the jsdoc@3.3.0-alpha5 postinstall script 'node ./node/postinstall.js'.
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 jsdoc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./node/postinstall.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jsdoc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jsdoc
npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-03-15T05_42_43_001Z-debug.log
[root@centos7-137 web]# uname -a
Linux centos7-137 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

======================================================================

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions