npm WARN xxxx license should be a valid SPDX license expression: npm安装js依赖时报错 node_modules
npm ERR! ENOTEMPTY: directory not empty, rename '/home/xxxx/node_modules/less' -> '/home/xxxxxx/node_modules/.less.DELETE'
解决办法:
npm clean
还未解决时:
删除已下载的依赖node_modules:
rm -rf node_modules
重...
原创
2019-06-20 13:17:41 ·
6923 阅读 ·
0 评论