[root@localhost node_modules]# npm install jquery --save-dev
jquery@2.2.3 jquery
[root@localhost node_modules]# npm install bootstrap --save-dev
bootstrap@3.3.6 bootstrap
[root@localhost node_modules]# npm install mockjs --save-dev
npm ERR! Linux 3.10.0-327.13.1.el7.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mockjs" "--save-dev"
npm ERR! node v4.4.1
npm ERR! npm v2.14.20
npm ERR! path ../mockjs/bin/random
npm ERR! code ENOTSUP
npm ERR! errno -95
npm ERR! syscall symlink
npm ERR! nospc ENOTSUP: operation not supported on socket, symlink '../mockjs/bin/random' -> '/mnt/hgfs/www/reactjs/node_modules/.bin/random'
npm ERR! nospc This is most likely not a problem with npm itself
npm ERR! nospc and is related to insufficient space on your system.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/hgfs/www/reactjs/node_modules/npm-debug.log
为什么我使用 npm 安装不了,但可以安装别的 package,比如 jquery 和 bootstrap 就可以?
报错信息如下: