cnpm install在安装lodash.restparam时一直报错
将项目下载之后在本地执行cnpm install, 在安装lodash时git clone报错文件夹已存在并且不为空
[125/128] Installing lodash.restparam@^3.0.0fatal: destination path 'D:\Documents-and-setings\Administrator\Desktop\Study\topcoder\autocomplete\connect-app\node_modules\.tmp\b6951e46-0085-4ab9-8344-b1c7cd1aaab7' already exists and is not an empty directory.
[125/128] Installing lodash.restparam@^3.0.0rmdir git clone dir: D:\Documents-and-setings\Administrator\Desktop\Study\topcoder\autocomplete\connect-app\node_modules\.tmp\b6951e46-0085-4ab9-8344-b1c7cd1aaab7 error: Error: EPERM: operation not permitted, unlink 'D:\Documents-and-setings\Administrator\Desktop\Study\topcoder\autocomplete\connect-app\node_modules\.tmp\b6951e46-0085-4ab9-8344-b1c7cd1aaab7\app\styles\fonts\glyphicons-halflings-regular.svg', ignore it
Install fail! Error: [tc-accounts@git+https://github.com/appirio-tech/accounts-app.git#0.0.11] Run "C:\WINDOWS\system32\cmd.exe /d /s /c git clone https://github.com/appirio-tech/accounts-app.git D:\Documents-and-setings\Administrator\Desktop\Study\topcoder\autocomplete\connect-app\node_modules\.tmp\b6951e46-0085-4ab9-8344-b1c7cd1aaab7" error, exit code 128
Error: [tc-accounts@git+https://github.com/appirio-tech/accounts-app.git#0.0.11] Run "C:\WINDOWS\system32\cmd.exe /d /s /c git clone https://github.com/appirio-tech/accounts-app.git D:\Documents-and-setings\Administrator\Desktop\Study\topcoder\autocomplete\connect-app\node_modules\.tmp\b6951e46-0085-4ab9-8344-b1c7cd1aaab7" error, exit code 128
at module.exports (C:\Users\1\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\download\git.js:51:11)
at module.exports.throw (<anonymous>)
at onRejected (C:\Users\1\AppData\Roaming\npm\node_modules\cnpm\node_modules\co\index.js:81:24)
at process._tickCallback (internal/process/next_tick.js:68:7)
npminstall version: 3.20.2
npminstall args: C:\Program Files\nodejs\node.exe C:\Users\1\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\bin\install.js --fix-bug-versions --china --userconfig=C:\Users\1\.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.npm.taobao.org
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论