-
-
Notifications
You must be signed in to change notification settings - Fork 818
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 in Windows 7: no error messages but example does not work (fails silently) #571
Comments
The tests are not expected to work in a package installed from npm because the tests are explicitly excluded from the npm package (see |
Ok, thank you for the hint! Any idea what I can try to get it running in Windows 7? I have an SQLite version running with Java. But with Javascript I can not figure out how to get it working. Any help would be appreciated! |
I am not sure yet. Node.js v5.2.0 has just been released today, and I haven't yet tried to run
(though the directory Something weird. Maybe later I'll figure it out. |
I had first tried |
Okay, I've figured it out. I've hit nodejs/node#4208. Of course, I could work around REPL by editing and running JavaScript files instead of it. But I'd rather wait for Node.js v5.2.1. I hope it'll be released soon; probably even tomorrow. You should stay on Node.js v5.1.x for a while if you don't mind that; |
Not sure whether this bug is really the thing that holds me back because I had the same problem with 5.0. But I will wait for 5.2.1 and give feedback as soon as it is available. |
Meanwhile I'll use http://nodejs.org/dist/v5.1.1/win-x64/node.exe to replace my |
Thank you! Unfortunately I can not continue today. Will try to replicate the above tomorrow and give feedback here. |
Ok. |
Thank you! Unfortunately I can not continue today. Will try to replicate the above tomorrow and give feedback here. |
Back to my programming time slot ;-). I have replaced |
Nope, forget about my last comment. The subdirectory is not to blame but a slight change I made for the testing. I had put an Problem solved and again thank you for taking the time to respond! |
I have installed sqlite3 with "npm install sqlite3" on my Windows 7, 64-bit machine. Npm is version 3.3.12 and node is version 5.2.0. I get the output (after a repeated install):
Looks to me like a sucess, or?
Running the example program given on the installation page shows no output. If I add some
console.log
manually then this added output is shown.Shortening the example to:
shows
Database { open: false, filename: ':memory:', mode: 65542 }
. The database does not get opened and I get no error message whatsoever. If I add a callback function it is not called but the program execution continues. All following method calls fordb
do fail silently.I then tried to install the
mocha
testing in thesqlite3
directory. This is successful but runningnpm test
delivers the error lineError: Cannot find module 'E:\WebstormProjects\CryptoWeb\node_modules\sqlite3\test\support\createdb.js'
. Thetest
directory does not exist.It looks like
sqlite3
does not work in Windows 7. No errors are shown. Almost everything fails silently.The text was updated successfully, but these errors were encountered: