Node.js Vue CLI项目安装程序引发eNote:没有此类文件或目录错误

Node.js Vue CLI项目安装程序引发eNote:没有此类文件或目录错误,node.js,docker,vue.js,vue-cli,Node.js,Docker,Vue.js,Vue Cli,我正在尝试创建一个新的Vue.js应用程序,并正在运行以下命令: vue create client 接下来,我选择默认模板: default (babel, eslint) 但是,在安装完成之前,它将退出,并出现以下错误: ✨ Creating project in /workspace/client. ⚙️ Installing CLI plugins. This might take a while... npm ERR! code ENOENT npm ERR! syscal

我正在尝试创建一个新的Vue.js应用程序,并正在运行以下命令:

vue create client
接下来,我选择默认模板:

default (babel, eslint) 
但是,在安装完成之前,它将退出,并出现以下错误:

✨  Creating project in /workspace/client.
⚙️  Installing CLI plugins. This might take a while...

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /workspace/client/node_modules/.inquirer.DELETE/node_modules/ansi-styles
npm ERR! dest /workspace/client/node_modules/inquirer/node_modules/ansi-styles
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/workspace/client/node_modules/.inquirer.DELETE/node_modules/ansi-styles' -> '/workspace/client/node_modules/inquirer/node_modul
es/ansi-styles'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-29T20_47_33_239Z-debug.log
我正在节点为12的docker容器中开发。

我的问题是:我如何解决这个问题?另外,这是与Docker相关的问题吗?

重新安装Node.js,然后尝试安装Vue

是windows上的Docker吗?如果是的话,它是否有访问磁盘的权限/共享是的,Docker for Windows(Docker Desktop),我相信是的,因为我只有c驱动器,它是检查标记。我遇到过类似的问题,Docker与文件系统交互的方式。我的问题更多的是将windows容器安装到docker容器中,但这是一个类似的错误。您是否在docker容器中运行
vue create client
?我一直使用docker compose,因此需要运行
docker compose run containername vue create client
我使用的是vscode和名为“remote containers”的扩展,我相信它确实连接到容器并运行命令,就像在docker中使用-it选项运行命令一样