跪求大神指导 按照http://www.cnblogs.com/picaso/p/3848209.html这个帖子配置的 NPM全局路径 之后npm install -g cnpm --registry=https://registry.npm.taobao.org 报错如下 C:\Users**>npm install -g cnpm --registry=https://registry.npm.taobao.org
npm ERR! Windows_NT 6.1.7601 npm ERR! argv “D:\Program Files(Develop)\nodejs\node.exe” “D:\Program Files( Develop)\nodejs\node_modules\npm\bin\npm-cli.js” “install” “-g” “cnpm” "–r egistry=https://registry.npm.taobao.org" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! path D:\DprogramData\NodeJS\Libnpm\cnpm npm ERR! code EISDIR npm ERR! errno -4068 npm ERR! syscall open
npm ERR! eisdir EISDIR: illegal operation on a directory, open 'D:\DprogramData
NodeJS\Libnpm\cnpm’
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\JiaYifan\npm-debug.log
npm ERR! eisdir EISDIR: illegal operation on a directory, open D:\DprogramDataNodeJS\Libnpm\cnpm
感觉是你配错了
@atian25 但是比如我install jquery就可以额
自己解决了,那个教程不对,按照这个教程来http://blog.csdn.net/xinyflove/article/details/52435664
npm ERR! eisdir EISDIR: illegal operation on a directory, open 'D:\DprogramData
NodeJS\Libnpm\cnpm’ npm ERR! eisdir This is most likely not a problem with npm itself npm ERR!