AndyGrom/node-deploy-server

Error when install this package

Opened this issue · 0 comments

Hello Andy,

First I thanks for share this job. Therefore, I have some problems with this:

install windows service...
Target configuration: C:\Users\Diogo Miranda\AppData\Roaming\npm\node_modules\node-deploy-server\nodehosting.json
Source configuration: C:\Users\Diogo Miranda\AppData\Roaming\npm\node_modules\node-deploy-server\lib\templates\nodehosting.json.template
Configuration created
fs.js:642
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open 'C:\Users\Diogo Miranda\AppData\Roaming\npm\node_modules\node-deploy-server\lib\service\windows\bin\winsw\x64\winsw.exe'
at Error (native)
at Object.fs.openSync (fs.js:642:18)
at Object.fs.readFileSync (fs.js:510:33)
at Object.createExe (C:\Users\Diogo Miranda\AppData\Roaming\npm\node_modules\node-deploy-server\lib\service\windows\lib\winsw.js:93:19)
at C:\Users\Diogo Miranda\AppData\Roaming\npm\node_modules\node-deploy-server\lib\service\windows\lib\daemon.js:399:19
at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\node-deploy-server\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "node-deploy-server" "--unsafe-perm"
npm ERR! node v6.11.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! node-deploy-server@0.2.3 install: node ./scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-deploy-server@0.2.3 install script 'node ./scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-deploy-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-deploy-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-deploy-server
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\WINDOWS\system32\npm-debug.log

Can you help me?

Best regards!