How to resolve this? when I create project , I have this error installation Trace: TypeError: Cannot convert undefined or null to object at Object.apply (C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\cna-template\template uxt\package.js:36:18) at Object.loadPackage (C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\create-nuxt-app\lib\package.js:21:42) at Object.load (C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\create-nuxt-app\lib\package.js:24:26) at Object.handler (C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\create-nuxt-app\lib\saofile.js:147:34) at C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\sao\lib unActions.js:103:39 at Array.map () at C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\sao\lib unActions.js:97:30 at C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\majo\dist\majo.cjs.js:58:49 at C:\Users\Norofaneva\AppData\Local pm-cache\_npx\ea7c6e7510ea3309 ode_modules\create-nuxt-app\lib\cli.js:56:19
I get following errors. Any idea how we can fix this? Are you know maybe we must do any previous steps with our Windows before write `npx nuxi@latest init ` ` npm ERR! code 1 npm ERR! path E:\project\path ode_modules\@parcel\watcher npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@10.0.1 npm ERR! gyp info using node@20.11.0 | win32 | x64 npm ERR! gyp info find Python using Python version 3.12.1 found at "C:\Users oot\AppData\Local\Programs\Python\Python312\python.exe" npm ERR! gyp ERR! find VS npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config npm ERR! gyp ERR! find VS - looking for Visual Studio version 2017 npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details npm ERR! gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18 npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 npm ERR! gyp ERR! find VS npm ERR! gyp ERR! find VS valid versions for msvs_version: npm ERR! gyp ERR! find VS npm ERR! gyp ERR! find VS ************************************************************** npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload. npm ERR! gyp ERR! find VS For more information consult the documentation at: npm ERR! gyp ERR! find VS github.com/nodejs/node-gyp#on-windows npm ERR! gyp ERR! find VS ************************************************************** npm ERR! gyp ERR! find VS npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use npm ERR! gyp ERR! stack at VisualStudioFinder.fail (E:\project\path ode_modules ode-gyp\lib\find-visualstudio.js:113:11) npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio (E:\project\path ode_modules ode-gyp\lib\find-visualstudio.js:69:17) npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5) npm ERR! gyp ERR! stack at async createBuildDir (E:\project\path ode_modules ode-gyp\lib\configure.js:69:26) npm ERR! gyp ERR! stack at async run (E:\project\path ode_modules ode-gyp\bin ode-gyp.js:81:18) npm ERR! gyp ERR! System Windows_NT 10.0.19045 npm ERR! gyp ERR! command "C:\\Program Files\ odejs\ ode.exe" "E:\\project\\path\ ode_modules\ ode-gyp\\bin\ ode-gyp.js" "rebuild" npm ERR! gyp ERR! cwd E:\project\path ode_modules\@parcel\watchernpm ERR! gyp ERR! node -v v20.11.0 npm ERR! gyp ERR! node-gyp -v v10.0.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: C:\Users oot\AppData\Local pm-cache\_logs\2024-02-03T12_08_53_089Z-debug-0.log `
[25/01, 4:07 PM] A-jay Prajapati 👈👈: 'create-nuxt-app' is not recognized as an internal or external command, operable program or batch file [25/01, 4:08 PM] A-jay Prajapati 👈👈: 'create-nuxt-app' is not recognized as an internal or external command, operable program or batch file. npm ERR! code 1 npm ERR! path C:\Users\Ajay\Desktop\bhuvi npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-nuxt-app BHUVI npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Ajay\AppData\Local pm-cache\_logs\2023-01-25T10_37_42_770Z-debug-0.log
Thank you, your tutorial is usefull for me
You are welcome!
How to resolve this? when I create project , I have this error installation Trace: TypeError: Cannot convert undefined or null to object
at Object.apply (C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\cna-template\template
uxt\package.js:36:18)
at Object.loadPackage (C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\create-nuxt-app\lib\package.js:21:42)
at Object.load (C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\create-nuxt-app\lib\package.js:24:26)
at Object.handler (C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\create-nuxt-app\lib\saofile.js:147:34)
at C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\sao\lib
unActions.js:103:39
at Array.map ()
at C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\sao\lib
unActions.js:97:30
at C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\majo\dist\majo.cjs.js:58:49
at C:\Users\Norofaneva\AppData\Local
pm-cache\_npx\ea7c6e7510ea3309
ode_modules\create-nuxt-app\lib\cli.js:56:19
Nuxt2 can’t open with node v18. How we can resolve about this? Did you can resolve that?
you should specify which version your giving a tutorial about ..this is nuxt2..
Thank you for a comment
I get following errors.
Any idea how we can fix this?
Are you know maybe we must do any previous steps with our Windows before write `npx nuxi@latest init `
`
npm ERR! code 1
npm ERR! path E:\project\path
ode_modules\@parcel\watcher
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@10.0.1
npm ERR! gyp info using node@20.11.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.12.1 found at "C:\Users
oot\AppData\Local\Programs\Python\Python312\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config
npm ERR! gyp ERR! find VS - looking for Visual Studio version 2017
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer,
try re-running with '--loglevel silly' for more details
npm ERR! gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS valid versions for msvs_version:
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack at VisualStudioFinder.fail (E:\project\path
ode_modules
ode-gyp\lib\find-visualstudio.js:113:11)
npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio (E:\project\path
ode_modules
ode-gyp\lib\find-visualstudio.js:69:17)
npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! gyp ERR! stack at async createBuildDir (E:\project\path
ode_modules
ode-gyp\lib\configure.js:69:26)
npm ERR! gyp ERR! stack at async run (E:\project\path
ode_modules
ode-gyp\bin
ode-gyp.js:81:18)
npm ERR! gyp ERR! System Windows_NT 10.0.19045
npm ERR! gyp ERR! command "C:\\Program Files\
odejs\
ode.exe" "E:\\project\\path\
ode_modules\
ode-gyp\\bin\
ode-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd E:\project\path
ode_modules\@parcel\watchernpm ERR! gyp ERR! node -v v20.11.0
npm ERR! gyp ERR! node-gyp -v v10.0.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in: C:\Users
oot\AppData\Local
pm-cache\_logs\2024-02-03T12_08_53_089Z-debug-0.log
`
You might need to install the latest version of node
How to resolve this error
Run this command, "npm cache clean --force". Then, install it again. I hope it help. Please, subscribe
deprecated error
you might need to clear cache and update composer
[25/01, 4:07 PM] A-jay Prajapati 👈👈: 'create-nuxt-app' is not recognized as an internal or external command,
operable program or batch file
[25/01, 4:08 PM] A-jay Prajapati 👈👈: 'create-nuxt-app' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code 1
npm ERR! path C:\Users\Ajay\Desktop\bhuvi
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-nuxt-app BHUVI
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ajay\AppData\Local
pm-cache\_logs\2023-01-25T10_37_42_770Z-debug-0.log
Run this command, "npm cache clean --force". Then, install it again. I hope it help. Please, subscribe
@@Devtamin No it did not work.