使用npm安装软件包时遇到问题

时间:2019-04-02 16:29:17

标签: npm npm-install partition disk-partitioning

我在使用npm安装任何软件包时遇到问题。 控制台错误是。

npm WARN rollback Rolling back serve-static@1.13.2 failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/moshab97/W - L/prueba/node_modules/serve-static'
npm WARN rollback Rolling back mime@1.4.1 failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/moshab97/W - L/prueba/node_modules/mime'
npm WARN rollback Rolling back send@0.16.2 failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/moshab97/W - L/prueba/node_modules/send'
npm WARN rollback Rolling back express@4.16.4 failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/moshab97/W - L/prueba/node_modules/express'
npm WARN prueba@1.0.0 No description
npm WARN prueba@1.0.0 No repository field.

npm ERR! path ../mime/cli.js
npm ERR! code ENOSYS
npm ERR! errno -38
npm ERR! syscall symlink
npm ERR! ENOSYS: function not implemented, symlink '../mime/cli.js' -> '/media/moshab97/W - L/prueba/node_modules/.bin/mime'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/moshab97/.npm/_logs/2019-04-02T16_28_40_007Z-debug.log

我已将磁盘分区为Windows和Linux,并且共享文档分区的一部分位于Windows和Linux之间。如果我尝试在该共享文件夹中安装软件包,则会抛出上面的错误,但是如果我从该共享文件夹中创建一个项目,则不会生成错误并正确安装。

0 个答案:

没有答案