创建 Vue 应用程序:vue create 不起作用
Creating Vue application: vue create does not work
我正在尝试在 ubuntu 运行 上的 Windows 10 上的 vagrant & virtual box 上使用 vue-cli 创建一个 vue 应用程序,我收到以下错误无法解决。
npm ERR! path /vagrant/vuetest/node_modules/@babel/helper-plugin-
utils/package.json.4118558811
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
npm ERR! ETXTBSY: text file is busy, rename
'/vagrant/vuetest/node_modules/@babel/helper-plugin-
utils/package.json.4118558811' ->
'/vagrant/vuetest/node_modules/@babel/helper-plugin-utils/package.json'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-06-07T01_37_02_093Z-debug.log
ERROR command failed: npm install --loglevel error
有什么想法吗?有什么吗?
我认为 othiym23 得到了你关于 npm 问题的答案:
https://github.com/npm/npm/issues/9979
othiym23 : "My guess is that you're both running Linux inside Vagrant on a Windows host, because ETXTBSY is almost always due to Windows not wanting to let the guest OS remove or move a file. Generally, this happens when you have a cmd.exe process open in a directory, or are looking at the folder with Explorer, or have a file in there open in a text editor."
我正在尝试在 ubuntu 运行 上的 Windows 10 上的 vagrant & virtual box 上使用 vue-cli 创建一个 vue 应用程序,我收到以下错误无法解决。
npm ERR! path /vagrant/vuetest/node_modules/@babel/helper-plugin-
utils/package.json.4118558811
npm ERR! code ETXTBSY
npm ERR! errno -26
npm ERR! syscall rename
npm ERR! ETXTBSY: text file is busy, rename
'/vagrant/vuetest/node_modules/@babel/helper-plugin-
utils/package.json.4118558811' ->
'/vagrant/vuetest/node_modules/@babel/helper-plugin-utils/package.json'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-06-07T01_37_02_093Z-debug.log
ERROR command failed: npm install --loglevel error
有什么想法吗?有什么吗?
我认为 othiym23 得到了你关于 npm 问题的答案:
https://github.com/npm/npm/issues/9979
othiym23 : "My guess is that you're both running Linux inside Vagrant on a Windows host, because ETXTBSY is almost always due to Windows not wanting to let the guest OS remove or move a file. Generally, this happens when you have a cmd.exe process open in a directory, or are looking at the folder with Explorer, or have a file in there open in a text editor."