Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'node' is not recognized as an internal or external command, #4351

Open
viswasakthi3 opened this issue Feb 29, 2024 · 2 comments
Open

'node' is not recognized as an internal or external command, #4351

viswasakthi3 opened this issue Feb 29, 2024 · 2 comments
Labels

Comments

@viswasakthi3
Copy link

Version

v20.11.1

Platform

Microsoft Windows NT 10.0.22631.0 x64

Subsystem

No response

What steps will reproduce the bug?

step 1 : run any nuxt 3 project
step 2 : stop the system stop abruptly or shut down or close it

How often does it reproduce? Is there a required condition?

when the steps mentioned followed

What is the expected behavior? Why is that the expected behavior?

normal working of the project

What do you see instead?

PS C:\Users\viswa\Desktop\nuxt-proj\theluvit> npm install
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules@nuxt'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules\@nuxt'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules\vue-demi
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node -e "try{require('./scripts/postinstall.js')}catch(e){}"
npm ERR! 'node' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

npm ERR! A complete log of this run can be found in: C:\Users\viswa\AppData\Local\npm-cache_logs\2024-02-29T15_08_05_358Z-debug-0.log
PS C:\Users\viswa\Desktop\nuxt-proj\theluvit> node -v
v20.11.1
PS C:\Users\viswa\Desktop\nuxt-proj\theluvit>

Additional information

i tried every way possible i tried changing the nuxt 3 project its kept happening i tried uninstalling the node js and install it , used the wise programmer unisntaller done this process multiple times

PS C:\Users\viswa\Desktop\nuxt-proj\theluvit> npm install
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules@nuxt'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules\@nuxt'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\viswa\Desktop\nuxt-proj\theluvit\node_modules\vue-demi
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node -e "try{require('./scripts/postinstall.js')}catch(e){}"
npm ERR! 'node' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

npm ERR! A complete log of this run can be found in: C:\Users\viswa\AppData\Local\npm-cache_logs\2024-02-29T15_08_05_358Z-debug-0.log
PS C:\Users\viswa\Desktop\nuxt-proj\theluvit> node -v
v20.11.1
PS C:\Users\viswa\Desktop\nuxt-proj\theluvit>

@viswasakthi3
Copy link
Author

i tried adding different paths too :

photo_2024-02-29_21-13-42

@viswasakthi3
Copy link
Author

also its not because of the warings of the nuxt 3 project

@marco-ippolito marco-ippolito transferred this issue from nodejs/node Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants