How to call npm in nw.exe (node ​​-webkit) instead of nodejs.exe?

I am using node -webkit https://github.com/rogerwang/node-webkit for windows. I want to use npm to update the query package or any other package. I did not install nodejs on windows. I found that npm.cmd requires nodejs.exe. Is there anyway that I can start / invoke npm using node -webkit instead of nodejs.exe? node -webkit gives nw.exe.

Thanks, Regards, Maheshwar

+4
source share
1 answer

We named npm as a child process. We write update.bat as the “npm update package.” Now, npm automatically updates our package as a Windows update.

-1
source

All Articles