npm命令突然停止工作。不确定我做错了什么。尝试重新安装仍然失败
USBLRAVIVEKMB3:teach avivek$ npm
Error: ENAMETOOLONG: name too long, mkdir '/Users/avivek/Dev/Node/Experiments/teach/(node:4125) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:4125) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:4125) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
/usr/local'
at Error (native)
1条答案
按热度按时间wqnecbli1#
在此找到解决方案:https://github.com/aws/aws-cdk/issues/3899#issuecomment-580394612
在项目的根文件夹中创建一个
.dockerignore
文件,并添加以下行:cdk*
个