-
Notifications
You must be signed in to change notification settings - Fork 495
Description
Simply trying to scaffold a new project using "npm create vue@latest" and I get terminal output:
npx
create-vue
sh: 1: create-vue: not found
npm error code 127
npm error path /home/mark/Programming/Vue/supabase-ssr
npm error command failed
npm error command sh -c create-vue
npm error A complete log of this run can be found in: /home/mark/.npm/_logs/2024-10-16T12_20_20_375Z-debug-0.log
Here is the log:
0 verbose cli /home/mark/.nvm/versions/node/v22.6.0/bin/node /usr/local/bin/npm
1 info using npm@10.9.0
2 info using node@v22.6.0
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
4 silly config load:file:/home/mark/Programming/Vue/supabase-ssr/.npmrc
5 silly config load:file:/home/mark/.npmrc
6 silly config load:file:/etc/npmrc
7 verbose title npm create vue@latest
8 verbose argv "create" "vue@latest"
9 verbose logfile logs-max:10 dir:/home/mark/.npm/_logs/2024-10-16T12_20_20_375Z-
10 verbose logfile /home/mark/.npm/_logs/2024-10-16T12_20_20_375Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
14 http fetch GET 200 https://registry.npmjs.org/create-vue 435ms (cache miss)
15 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
16 verbose stack Error: command failed
16 verbose stack at promiseSpawn (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
16 verbose stack at spawnWithShell (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
16 verbose stack at promiseSpawn (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
16 verbose stack at runScriptPkg (/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
16 verbose stack at runScript (/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
16 verbose stack at run (/usr/local/lib/node_modules/npm/node_modules/libnpmexec/lib/run-script.js:48:10)
16 verbose stack at async exec (/usr/local/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:298:10)
16 verbose stack at async Init.execCreate (/usr/local/lib/node_modules/npm/lib/commands/init.js:135:5)
16 verbose stack at async Init.exec (/usr/local/lib/node_modules/npm/lib/commands/init.js:44:14)
16 verbose stack at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)
17 error code 127
18 error path /home/mark/Programming/Vue/supabase-ssr
19 error command failed
20 error command sh -c create-vue
21 verbose cwd /home/mark/Programming/Vue/supabase-ssr
22 verbose os Linux 6.8.0-45-generic
23 verbose node v22.6.0
24 verbose npm v10.9.0
25 verbose exit 127
26 verbose code 127
27 error A complete log of this run can be found in: /home/mark/.npm/_logs/2024-10-16T12_20_20_375Z-debug-0.log
Any ideas what could be wrong? I've cleared npm cache as well.
tia
_mark