coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.79k stars 358 forks source link

node window service not install in window 10 #216

Closed ghost closed 4 years ago

ghost commented 6 years ago

C:\Users\tarun\Downloads\node-windows-master(1)>npm install node-windows npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\tarun\Downloads\node-windows-master(1)\package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\tarun\Downloads\node-windows-master(1)\package.json' npm WARN node-windows-master(1) No description npm WARN node-windows-master(1) No repository field. npm WARN node-windows-master(1) No README data npm WARN node-windows-master(1) No license field.

C:\Users\tarun\Downloads\node-windows-master(1)>npm link node-windows C:\Users\tarun\Downloads\node-windows-master(1)\node_modules\node-windows -> C:\Users\tarun\AppData\Roaming\npm\node_modules\node-windows

C:\Users\tarun\Downloads\node-windows-master(1)>

every time i'm getting same response install node window services. if any solution please tell me.

coreybutler commented 6 years ago

Something is going on with your configuration... are you using a version manager or are you behind a proxy?

ghost commented 6 years ago

No i'm not using any version manager and also removed proxy but still same issue...

AshishShanker commented 6 years ago

Did you do an npm init in node-windows-master directory? Looks like npm can't find your project's package.json

coreybutler commented 4 years ago

@AshishShanker is correct... this looks like a missing package file.