You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do NOT ignore this template or your issue will have a very high chance to be closed without comment.
Describe the bug
I am trying to use vite for the first time on my windows machine and it is giving me the following errors. I think it might be related that my username on Windows is two words "Leonard Cremer":
C:\Trooptravel\Development>npm init vite-app vuevite
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Cremer\AppData\Roaming\npm-cache_npx\16932" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Leonard Cremer\AppData\Roaming\npm-cache_logs\2020-07-20T07_39_09_584Z-debug.log
Install for create-vite-app@latest failed with code 1
C:\Trooptravel\Development>npm init vite-app vuevite
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Leonard Cremer\AppData\Roaming\npm-cache_logs\2020-07-20T07_43_38_245Z-debug.log
Install for create-vite-app@latest failed with code 1
Reproduction
Run the following in Windows terminal
npm init vite-app vuevite
System Info
Windows 10
Node 10
Logs (Optional if provided reproduction)
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\nvm\v10.16.1\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'create-vite-app@latest',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli 'C:\Users\Leonard',
1 verbose cli 'Cremer\AppData\Roaming\npm-cache\_npx\12400',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--json' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 2fb9daec28b89413
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for file:Cremer\AppData\Roaming\npm-cache_npx\12400 Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
8 http fetch GET 200 https://registry.npmjs.org/create-vite-app 26ms (from cache)
9 silly pacote tag manifest for create-vite-app@latest fetched in 36ms
10 timing stage:rollbackFailedOptional Completed in 1ms
11 timing stage:runTopLevelLifecycles Completed in 44ms
12 verbose stack Error: ENOENT: no such file or directory, open 'C:\Trooptravel\Development\Cremer\AppData\Roaming\npm-cache_npx\12400\package.json'
13 verbose cwd C:\Trooptravel\Development
14 verbose Windows_NT 10.0.18362
15 verbose argv "C:\Program Files\nodejs\node.exe" "C:\nvm\v10.16.1\node_modules\npm\bin\npm-cli.js" "install" "create-vite-app@latest" "--global" "--prefix" "C:\Users\Leonard" "Cremer\AppData\Roaming\npm-cache\_npx\12400" "--loglevel" "error" "--json"
16 verbose node v10.16.1
17 verbose npm v6.9.0
18 error code ENOLOCAL
19 error Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
20 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to use vite for the first time on my windows machine and it is giving me the following errors. I think it might be related that my username on Windows is two words "Leonard Cremer":
C:\Trooptravel\Development>npm init vite-app vuevite
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Cremer\AppData\Roaming\npm-cache_npx\16932" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Leonard Cremer\AppData\Roaming\npm-cache_logs\2020-07-20T07_39_09_584Z-debug.log
Install for create-vite-app@latest failed with code 1
C:\Trooptravel\Development>npm init vite-app vuevite
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Leonard Cremer\AppData\Roaming\npm-cache_logs\2020-07-20T07_43_38_245Z-debug.log
Install for create-vite-app@latest failed with code 1
Reproduction
Run the following in Windows terminal
npm init vite-app vuevite
System Info
Windows 10
Node 10
Logs (Optional if provided reproduction)
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\nvm\v10.16.1\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'create-vite-app@latest',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli 'C:\Users\Leonard',
1 verbose cli 'Cremer\AppData\Roaming\npm-cache\_npx\12400',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--json' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 2fb9daec28b89413
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for file:Cremer\AppData\Roaming\npm-cache_npx\12400 Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
8 http fetch GET 200 https://registry.npmjs.org/create-vite-app 26ms (from cache)
9 silly pacote tag manifest for create-vite-app@latest fetched in 36ms
10 timing stage:rollbackFailedOptional Completed in 1ms
11 timing stage:runTopLevelLifecycles Completed in 44ms
12 verbose stack Error: ENOENT: no such file or directory, open 'C:\Trooptravel\Development\Cremer\AppData\Roaming\npm-cache_npx\12400\package.json'
13 verbose cwd C:\Trooptravel\Development
14 verbose Windows_NT 10.0.18362
15 verbose argv "C:\Program Files\nodejs\node.exe" "C:\nvm\v10.16.1\node_modules\npm\bin\npm-cli.js" "install" "create-vite-app@latest" "--global" "--prefix" "C:\Users\Leonard" "Cremer\AppData\Roaming\npm-cache\_npx\12400" "--loglevel" "error" "--json"
16 verbose node v10.16.1
17 verbose npm v6.9.0
18 error code ENOLOCAL
19 error Could not install from "Cremer\AppData\Roaming\npm-cache_npx\12400" as it does not contain a package.json file.
20 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: