关闭

npm installation

3134人阅读 评论(0) 收藏 举报
npm WARN not found: git
npm WARN optional Skipping failed optional dependency /pm2/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@0.3.8
[root@web01 pilipilid]# npm i npm -g

[    ..............] / loadRequestedDeps: sill install loadAllDepsIntoIdealTree


- - - -在centos上升级了,也是没得用处啊

fsevents is an API available only on OSX. So if you're using another OS like Windows as do I. Normally software that wants to use fsevents will provide an alternative or make it optional as your message reads.


To my knowledge it will not stop gulp from running. -----

====

[root@web01 pilipilid]# PORT=8481 npm run dev


> express-es6-rest-api@0.3.0 dev /root/pilipilid
> nodemon -w src --exec "babel-node src --presets es2015,stage-0"


sh: nodemon: command not found


npm ERR! Linux 2.6.32-431.3.1.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.6
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! express-es6-rest-api@0.3.0 dev: `nodemon -w src --exec "babel-node src --presets es2015,stage-0"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the express-es6-rest-api@0.3.0 dev script 'nodemon -w src --exec "babel-node src --presets es2015,stage-0"'.
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 express-es6-rest-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nodemon -w src --exec "babel-node src --presets es2015,stage-0"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs express-es6-rest-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls express-es6-rest-api
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?


npm ERR! Please include the following file with any support request:
npm ERR!     /root/pilipilid/npm-debug.log
[root@web01 pilipilid]# npm install -g --force nodemon

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:844476次
    • 积分:12665
    • 等级:
    • 排名:第1177名
    • 原创:322篇
    • 转载:660篇
    • 译文:30篇
    • 评论:44条
    友情链接
    友情链接 二
    最新评论