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

Error installing on windows 10 #38

Closed
wdamien opened this issue Sep 29, 2017 · 5 comments
Closed

Error installing on windows 10 #38

wdamien opened this issue Sep 29, 2017 · 5 comments

Comments

@wdamien
Copy link

wdamien commented Sep 29, 2017

When I first went to install this via npm install nsfw, MSBuild threw back a big nasty build error. After a bit of research I found this article, then after running npm install -g windows-build-tools I was able to install nsfw normally.

I don't know if this is something you can integrate into the npm install? Or at the very least a README mention would be helpful.

For reference:
node v6.11.1
windows: 10.0.15063 Build 15063

@dasmikko
Copy link

dasmikko commented Oct 9, 2017

This should really be in the readme.

@sysrage
Copy link

sysrage commented Oct 1, 2018

Thank you. This tripped me up, as well. Seems that the build scripts aren't compatible with Python 3. Installing windows-build-tools gives you Python 2.7, which seems to work with the nsfw build scripts.

@implausible
Copy link
Contributor

Native dependencies for Node require node-gyp. Details are provided here https://github.com/nodejs/node-gyp

@implausible
Copy link
Contributor

I've updated the documentation.

@ingles98
Copy link

This is still an issue. Why would I have to do a whole setup for this dependency to work on each platform ? Shouldn't this be handled itself already by the install scripts ?

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

5 participants