iamafraid
TTCTheo's Typesafe Cult
•Created by iamafraid on 6/18/2023 in #questions
why do I get an error when running `npm create t3-app@latest`
I have already tried clearing the cache/updating node but cant make any sense of the error message.
terminal output:
changed 18 packages in 34s
PS C:\code\react\t3> npm create t3-app@latest
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'C:\Users\luna\AppData\Local\npm-cache_npx\586e525dab4a761f\node_modules\wcwidth' imported from C:\Users\luna\AppData\Local\npm-cache_npx\586e525dab4a761f\node_modules\ora\index.js
at new NodeError (node:internal/errors:399:5)
at legacyMainResolve (node:internal/modules/esm/resolve:202:9)
at packageResolve (node:internal/modules/esm/resolve:781:14)
at moduleResolve (node:internal/modules/esm/resolve:843:20)
at defaultResolve (node:internal/modules/esm/resolve:1058:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v19.6.1
npm ERR! code 1
npm ERR! path C:\code\react\t3
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-t3-app
npm ERR! A complete log of this run can be found in: C:\Users\luna\AppData\Local\npm-cache_logs\2023-06-18T12_40_45_005Z-debug-0.log log file:
3 replies