cnpm install 安装依赖的时候出现错误

$ cnpm install× Install fail! Error: EISDIR: illegal operation on a directory, symlink ‘D:\vue-demo\[email protected]@connect-history-api-fallback’ -> ‘D:\vue-demo\node_modules\connect-history-api-fallback’
Error: EISDIR: illegal operation on a directory, symlink ‘D:\vue-demo\[email protected]@connect-history-api-fallback’ -> ‘D:\vue-demo\node_modules\connect-history-api-fallback’
at Error (native)
npminstall version: 2.29.1
npminstall args: C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\cnpm\node_modules\npminstall\bin\install.js --china --userconfig=C:\Users\Administrator.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.npm.taobao.org

硬盘格式错误,FAT32转NTFS

打开硬盘格式错误,需要FAT32转NTFS,终端输入convert C: /fs:ntfs,按回车键 重新安转依赖

你可能感兴趣的:(cnpm install 安装依赖的时候出现错误)