[GH-ISSUE #102] Include Support for Windows #79

Closed
opened 2026-02-26 05:31:16 +03:00 by kerem · 5 comments
Owner

Originally created by @szahn on GitHub (Nov 26, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/102

npm fails to install log.io on windows. Please provide support for Windows. I can provide the error logs from the install output if needed.

Originally created by @szahn on GitHub (Nov 26, 2013). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/102 npm fails to install log.io on windows. Please provide support for Windows. I can provide the error logs from the install output if needed.
kerem closed this issue 2026-02-26 05:31:16 +03:00
Author
Owner

@yobdcdoll commented on GitHub (Jan 26, 2014):

I failed to install log.io on windows 8. Error message shows as follows

C:\Users\lex\AppData\Roaming\npm\node_modules\log.io\node_modules\jquery\node_m odules\contextify\build\contextify.vcxproj(18,3): error MSB4019: The imported p roject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. C:\Users\lex\AppData\Roaming\npm\node_modules\log.io\node_modules\socket.io-cli ent\node_modules\ws\build\bufferutil.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

<!-- gh-comment-id:33309736 --> @yobdcdoll commented on GitHub (Jan 26, 2014): I failed to install log.io on windows 8. Error message shows as follows C:\Users\lex\AppData\Roaming\npm\node_modules\log.io\node_modules\jquery\node_m odules\contextify\build\contextify.vcxproj(18,3): error MSB4019: The imported p roject "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\Users\lex\AppData\Roaming\npm\node_modules\log.io\node_modules\socket.io-cli ent\node_modules\ws\build\bufferutil.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Author
Owner

@bdmorin commented on GitHub (Oct 7, 2014):

I also tried in Cygwin and no dice. It's failing on contextify, but I'm not sure that's core issue.

<!-- gh-comment-id:58225197 --> @bdmorin commented on GitHub (Oct 7, 2014): I also tried in Cygwin and no dice. It's failing on contextify, but I'm not sure that's core issue.
Author
Owner

@kadaan commented on GitHub (Oct 17, 2014):

For me this solved the same problem with socket,io: npm install socket.io --msvs_version=2012

<!-- gh-comment-id:59449939 --> @kadaan commented on GitHub (Oct 17, 2014): For me this solved the same problem with socket,io: npm install socket.io --msvs_version=2012
Author
Owner

@ZaLiTHkA commented on GitHub (Jan 24, 2015):

This is not a log.io issue.. Pretty sure it comes down to your Windows environment configuration directly affecting the install-time requirements of socket.io. @kadaan shared half the solution in his post above.

Make sure you have either MS Visual Studio 2010 or 2012 installed (no need to run it, just have it's build tools on your %path%, which is handled by it's own installer), then install with the following command:

npm i -g log-io --msvs_version=2012

Naturally, if you have VS 2010 instead, use that for the version parameter.

For the record, I just installed this without any errors or warnings on my Win 8.1 x64 system. Tested with installing successfully through both Git's bash shell and Window's cmd. If you have build related issues, you can even try the same command in MSVS's own developer command lines (which is nothing more than cmd with additional environment variables loaded).

<!-- gh-comment-id:71304169 --> @ZaLiTHkA commented on GitHub (Jan 24, 2015): This is not a log.io issue.. Pretty sure it comes down to your Windows environment configuration directly affecting the install-time requirements of socket.io. @kadaan shared half the solution in his post above. Make sure you have either MS Visual Studio 2010 or 2012 installed (no need to run it, just have it's build tools on your `%path%`, which is handled by it's own installer), then install with the following command: ``` npm i -g log-io --msvs_version=2012 ``` Naturally, if you have VS 2010 instead, use that for the version parameter. For the record, I just installed this without any errors or warnings on my Win 8.1 x64 system. Tested with installing successfully through both Git's `bash` shell and Window's `cmd`. If you have build related issues, you can even try the same command in MSVS's own developer command lines (which is nothing more than `cmd` with additional environment variables loaded).
Author
Owner

@msmathers commented on GitHub (Jan 16, 2020):

v0.4x uses npm's built-in "bin" scripts for process invocation and no longer requires root/sudo access. It also uses the latest LTE version of node.js, and is likely to be a lot more compatible with most OSes.

<!-- gh-comment-id:575216282 --> @msmathers commented on GitHub (Jan 16, 2020): v0.4x uses npm's built-in "bin" scripts for process invocation and no longer requires root/sudo access. It also uses the latest LTE version of node.js, and is likely to be a lot more compatible with most OSes.
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/log.io-NarrativeScience-old#79
No description provided.