更新时间:2023-11-18 13:57:40
我认为这是Windows Bash shell的问题,但是我在Ubuntu VM上确认了同样的问题,并且做了更多的挖掘工作.以超级用户身份进行全局安装可以使其正常工作:
I thought this was an issue with the Windows Bash shell, but I confirmed the same problem on an Ubuntu VM and did some more digging. Installing globally as superuser got it working:
sudo npm install i -g --save-dev webpack webpack-dev-server