我正在尝试在 Google Drive Stream (windows10) 上创建一个 vue 项目,但我不能。
$ cd G:\MyDrive\webdata\sample-app
$ vue init simulatedgreg/electron-vue sample-app
执行此命令后,我对 vue 中的每个问题都输入 Enter。
然后出现以下错误。
vue-cli · Failed to write the file at: G:\MyDrive\webdata\sample-app\sample-app\.eslintrc.js
EEXIST: file already exists, mkdir 'G:\MyDrive\webdata\sample-app\sample-app\'
我删除了 G:\MyDrive\webdata\sample-app\sample-app\ 文件夹,并在管理员运行的 powershell 终端上再次尝试,但结果是相同的。
我也尝试创建一个反应项目,但出现了类似的错误。
$ create-react-app koseki-seiri-app
Creating a new React app in G:\MyDrive\webdata\sample-app\sample-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...
npm ERR! path G:\MyDrive\webdata\sample-app\sample-app\node_modules\.staging\@babel
npm ERR! code EEXIST
npm ERR! errno -4075
npm ERR! syscall mkdir
npm ERR! EEXIST: file already exists, mkdir 'G:\MyDrive\webdata\sample-app\sample-app\node_modules\.staging\@babel'
npm ERR! File exists: G:\MyDrive\webdata\sample-app\sample-app\node_modules\.staging\@babel
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rieko\AppData\Roaming\npm-cache\_logs\2019-02-26T21_54_16_969Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.
Deleting generated file... package.json
Deleting generated file... node_modules
Done.```
我怎样才能创造?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)