-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Win7 - Support #8
Comments
This log doesn't include any useful information. Are you sure this is the entire log? You may have discarded a few lines. |
maximum is 65536 characters...the log is to long. Is there a way to attache a text file here? |
Maybe, but you could just post it across several comments. |
Here is the complete npm-log: |
Hm, I still don't see any useful information in there. Whatever is causing the error isn't logging where the error occurs. I have two guesses:
Windows Build Tools:
|
I have Python 2.7 + PATH + Build Tools + C++ Build Tools + PATH on board. C:\b\hello-electron-with-pouchdb>npm install better-sqlite3 --save
events.js:141 Error: spawn node-gyp ENOENT npm ERR! better-sqlite3@1.3.5 install: npm ERR! Please include the following file with any support request: C:\b\hello-electron-with-pouchdb> |
Ah! That's the useful information I was looking for.
In the command prompt (cmd.exe), when you type |
Yes it does... C:\b\hello-electron-with-pouchdb>python
|
It looks like your Python install is 32-bit. Is your Node.js install also 32-bit? If they are different, it won't work. |
You're experiencing this issue: nodejs/node-gyp#277 |
Interesting... will change Python version, reboot and retry. |
Changed Python to 64 bit...got same output.... C:\b\hello-electron-with-pouchdb>npm install better-sqlite3 --save
events.js:141 Error: spawn node-gyp ENOENT npm ERR! better-sqlite3@1.3.5 install: npm ERR! Please include the following file with any support request: C:\b\hello-electron-with-pouchdb>python ...A little bit strange I'm on Intel on Win7/64 bit |
And you're sure your Node.js version is 64-bit too? |
Got it with Task-Explorer Python = 64bit, NodeJs=64bit However my Python was initially 32 Bit which I changed now. |
Node.js binary add-ons are historically a pain in the butt with Windows. Let me know if you get better-sqlite3 working, or if any new information regarding the issue surfaces. |
I'm getting a similar error on win10:
"$CI" foi inesperado neste momento. npm ERR! better-sqlite3@1.2.1 install: npm ERR! Please include the following file with any support request: |
@marcocbarbieri |
I'm unable to reproduce this issue on my windows machine. What I did to make it work:
|
Hey folks - I'm also looking into this today because it's blocking a beta release of N1 (saw above one of the errors is from N1!) I think this is the more verbose output from node-gyp. We do all the builds on AppVeyor (https://ci.appveyor.com/project/nylas/n1) and it looks like it may not be installing
|
Looks like we can resolve that issue by building specifically with Visual Studio 2013 or lower by passing
It looks like |
Thanks for all the work you've done to help solve this issue! I suppose there are alternatives to snprintf. It's not a very integral part of the library. UPDATE: Actually, it turns out that |
Okay, I've just released a patch, version |
Oh cool—didn't actually look to see if it could be worked around! Will upgrade and see if that fixes it. |
I've confirmed that removing snprintf allowed us to build on VS2013! I tried moving us to VS2015, but a bunch of other native node modules didn't build. Thanks for increasing backwards compatibility 👍 |
Win 7:
Command: npm install --save better-sqlite3
...fails with the following ouput...
674 verbose cwd C:\b\hello-electron-with-pouchdb
675 error Windows_NT 6.1.7601
676 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\Stevie\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "--save" "better-sqlite3"
677 error node v4.6.0
678 error npm v3.10.8
679 error code ELIFECYCLE
680 error better-sqlite3@1.3.5 install:
node install
680 error Exit status 1
681 error Failed at the better-sqlite3@1.3.5 install script 'node install'.
681 error Make sure you have the latest version of node.js and npm installed.
681 error If you do, this is most likely a problem with the better-sqlite3 package,
681 error not with npm itself.
681 error Tell the author that this fails on your system:
681 error node install
681 error You can get information on how to open an issue for this project with:
681 error npm bugs better-sqlite3
681 error Or if that isn't available, you can get their info via:
681 error npm owner ls better-sqlite3
681 error There is likely additional logging output above.
682 verbose exit [ 1, true ]
Do I miss some version-requirements?
The text was updated successfully, but these errors were encountered: