Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation errors in Windows 7 x64 #30

Closed
hansoninc opened this issue Jun 26, 2013 · 5 comments
Closed

Installation errors in Windows 7 x64 #30

hansoninc opened this issue Jun 26, 2013 · 5 comments

Comments

@hansoninc
Copy link

I am attempting to install Livestyle on a 64-bit Windows 7 system. I get the following errors:

C:\Users\dave.rodriguez\AppData\Roaming\npm\node_modules\livestyle\node_modules
\express-processimage\node_modules\svgfilter\node_modules\assetgraph\node_modul
es\jsdom\node_modules\contextify\build\contextify.vcxproj(1,685): 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.
gyp ERR! rebuild error Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msb
uild.exe` failed with exit code: 1
gyp ERR! rebuild error     at ChildProcess.onExit (C:\Program Files (x86)\nodejs
\node_modules\npm\node_modules\node-gyp\lib\build.js:214:23)
gyp ERR! rebuild error     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! rebuild error     at Process._handle.onexit (child_process.js:674:10)
gyp ERR! not ok
npm ERR! contextify@0.1.6 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the contextify@0.1.6 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "livestyle"
npm ERR! cwd C:\Windows\system32
npm ERR! node -v v0.8.0
npm ERR! npm -v 1.1.32
npm ERR! code ELIFECYCLE
npm ERR! message contextify@0.1.6 install: `node-gyp rebuild`
npm ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Windows\system32\npm-debug.log
npm ERR! not ok code 0

I believe this is coming from contextify and is related to the issues described here:
https://github.com/brianmcd/contextify/wiki/Windows-Installation-Guide

I'm not a .NET developer, so I don't have Visual Studio, and I really don't have any interest in setting up all this infrastructure just to install livestyle.

There is a thread here about precompiling contextify binaries:
brianmcd/contextify#63

Maybe you could weigh on this thread, or look at alternatives to contextify for future builds?

Thanks!

Dave

@Munter
Copy link
Collaborator

Munter commented Jun 26, 2013

@hansoninc Thank you for reporting this. Setting up windows to build contextify certainly looks like a real pain. I understand your reluctance. I'll see what I can do about it.

@papandreou What if we made the svgfilter dependency in express-processimage optional? That would cut away the dependency chain that includes jsdom so windows users would have an easier time installing this. I feel that the svg part of processimage is a very slim use case compared to how many users we are cutting out by making livestyle uninstallable on windows.

@papandreou
Copy link
Collaborator

@Munter: Agreed, let's do that.

@Munter
Copy link
Collaborator

Munter commented Jun 27, 2013

@hansoninc We've released livestyle 0.5.2, which should make the failing dependency build optional. What you should be seeing when installing is the same error, but now it should no longer be fatal, so the installation will continue, and livestyle should work as expected, minus the svg filtering (not a normal use case).

@Munter
Copy link
Collaborator

Munter commented Jun 30, 2013

Tested and confirmed. Installation works on windows, albeit with some nasty errors for the optional dependencies.

@Munter Munter closed this as completed Jun 30, 2013
@hansoninc
Copy link
Author

Works like a charm! Thanks guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants