[GH-ISSUE #85] i cannot install this correctly. #72

Closed
opened 2026-02-25 20:32:19 +03:00 by kerem · 4 comments
Owner

Originally created by @wjm on GitHub (Oct 4, 2016).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/85

npm http GET https://registry.npmjs.org/peerflix-server
npm http 304 https://registry.npmjs.org/peerflix-server
npm ERR! TypeError: Arguments to path.resolve must be strings
npm ERR! at Object.win32.resolve (path.js:146:13)
npm ERR! at Object.win32.relative (path.js:269:16)
npm ERR! at installOne_ (C:\nodejs\node_modules\npm\lib\install.js:693:26)
npm ERR! at installOne (C:\nodejs\node_modules\npm\lib\install.js:621:3)
npm ERR! at C:\nodejs\node_modules\npm\lib\install.js:508:9
npm ERR! at C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:54:35
npm ERR! at Array.forEach (native)
npm ERR! at C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:54:11
npm ERR! at Array.forEach (native)
npm ERR! at asyncMap (C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:53:8)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com

npm ERR! System Windows_NT 10.0.14393
npm ERR! command "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "peerflix-server"
npm ERR! cwd C:\Users\wjm
npm ERR! node -v v0.12.9
npm ERR! npm -v 1.1.61
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\wjm\npm-debug.log
npm ERR! not ok code 0

Originally created by @wjm on GitHub (Oct 4, 2016). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/85 npm http GET https://registry.npmjs.org/peerflix-server npm http 304 https://registry.npmjs.org/peerflix-server npm ERR! TypeError: Arguments to path.resolve must be strings npm ERR! at Object.win32.resolve (path.js:146:13) npm ERR! at Object.win32.relative (path.js:269:16) npm ERR! at installOne_ (C:\nodejs\node_modules\npm\lib\install.js:693:26) npm ERR! at installOne (C:\nodejs\node_modules\npm\lib\install.js:621:3) npm ERR! at C:\nodejs\node_modules\npm\lib\install.js:508:9 npm ERR! at C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:54:35 npm ERR! at Array.forEach (native) npm ERR! at C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:54:11 npm ERR! at Array.forEach (native) npm ERR! at asyncMap (C:\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:53:8) npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or email it to: npm ERR! npm-@googlegroups.com npm ERR! System Windows_NT 10.0.14393 npm ERR! command "C:\nodejs\\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "peerflix-server" npm ERR! cwd C:\Users\wjm npm ERR! node -v v0.12.9 npm ERR! npm -v 1.1.61 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\wjm\npm-debug.log npm ERR! not ok code 0
kerem 2026-02-25 20:32:19 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@wjm commented on GitHub (Oct 4, 2016):

that one was solved, but I got a new problem now.
c:\users\wjm.node-gyp\0.10.25\deps\uv\include\uv-private/uv-win.h(32): fatal error C1083: Cannot open include file: 'w
insock2.h': No such file or directory [C:\Users\wjm\AppData\Roaming\npm\node_modules\peerflix-server\node_modules\socke
t.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]
Project : warning PRJ0018: The following environment variables were not found: [C:\Users\wjm\AppData\Roaming\npm\node_m
odules\peerflix-server\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]
c:\users\wjm.node-gyp\0.10.25\deps\uv\include\uv-private/uv-win.h(32): fatal error C1083: Cannot open include file: 'w
insock2.h': No such file or directory [C:\Users\wjm\AppData\Roaming\npm\node_modules\peerflix-server\node_modules\socke
t.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]
Project : warning PRJ0018: The following environment variables were not found: [C:\Users\wjm\AppData\Roaming\npm\node_m
odules\peerflix-server\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]

<!-- gh-comment-id:251269977 --> @wjm commented on GitHub (Oct 4, 2016): that one was solved, but I got a new problem now. c:\users\wjm.node-gyp\0.10.25\deps\uv\include\uv-private/uv-win.h(32): fatal error C1083: Cannot open include file: 'w insock2.h': No such file or directory [C:\Users\wjm\AppData\Roaming\npm\node_modules\peerflix-server\node_modules\socke t.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln] Project : warning PRJ0018: The following environment variables were not found: [C:\Users\wjm\AppData\Roaming\npm\node_m odules\peerflix-server\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln] c:\users\wjm.node-gyp\0.10.25\deps\uv\include\uv-private/uv-win.h(32): fatal error C1083: Cannot open include file: 'w insock2.h': No such file or directory [C:\Users\wjm\AppData\Roaming\npm\node_modules\peerflix-server\node_modules\socke t.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln] Project : warning PRJ0018: The following environment variables were not found: [C:\Users\wjm\AppData\Roaming\npm\node_m odules\peerflix-server\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\binding.sln]
Author
Owner

@asapach commented on GitHub (Oct 4, 2016):

Try installing this first: https://github.com/felixrieseberg/windows-build-tools

<!-- gh-comment-id:251345750 --> @asapach commented on GitHub (Oct 4, 2016): Try installing this first: https://github.com/felixrieseberg/windows-build-tools
Author
Owner

@asapach commented on GitHub (Oct 4, 2016):

Also node 0.x is dead; use version 4+.

<!-- gh-comment-id:251346298 --> @asapach commented on GitHub (Oct 4, 2016): Also node 0.x is dead; use version 4+.
Author
Owner

@asapach commented on GitHub (Nov 19, 2016):

Please try the latest version. Should be fixed now.

<!-- gh-comment-id:261742901 --> @asapach commented on GitHub (Nov 19, 2016): Please try the latest version. Should be fixed now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#72
No description provided.