Comments (15)
I will take a look at this and get back to you shortly. Hopefully the API is similar, it may just require a re-compilation.
OK - I managed to compile the driver under node 6.1 but currently they are not playing along very nicely. Indeed Node 6 does not seem to cooperate with Webstorm i.e. I am unable to debug / view variables etc in the IDE. I will continue to look at this and report back when I have more progress.
from node-sqlserver-v8.
If there is a build available I'm happy to try it out and see if it makes a difference in Visual Studio.
from node-sqlserver-v8.
I have built the library for node 6.1.0 and should be available in latest npm version. Please give it a shot and see how it goes in VS.
from node-sqlserver-v8.
@TimelordUK, is there a way to make node-sqlserver-v8
independent of the node version? Node JS development is currently iterating quite fast. And we'd like the flexibility to pick any of the newer versions > 4 (for example 6.2.1).
Part of the reason is that there are other components that we depend on, which either work or don't work with certain versions of Node JS. So being able to choose any of the newer versions would be very helpful.
Thanks.
from node-sqlserver-v8.
The latest version of library should be compatible with node 4 5 and 6. For every major version the cpp needs to be rebuilt. For minor node version updates the driver should work fine. Most of the problems come about with major version changes where the code has to be rebuilt
Let me know if the latest version is not working currently on newer versions I have tested it against versions 4 5 and 6.
Sent from my iPhone
On 16 Jun 2016, at 15:24, nabog [email protected] wrote:
@TimelordUK, is there a way to make node-sqlserver-v8 independent of the node version? Node JS development is currently iterating quite fast. And we'd like the flexibility to pick any of the newer versions > 4 (for example 6.2.1).
Part of the reason is that there are other components that we depend on, which either work or don't work with certain versions. So being able to choose any of the newer versions would be very helpful.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
from node-sqlserver-v8.
I see. I didn't realise that the minor versions did not matter. I'll try it out and let you know. Thanks.
from node-sqlserver-v8.
msnodesqlv8 is at 0.2.8. is still having trouble with node version 6.5.0. It fails with: "Error: None of the binaries loaded succesully. Is your node version either 0.12.x or 4.1.x".
from node-sqlserver-v8.
can you try latest version 0.2.9
from node-sqlserver-v8.
ok i patched the build with latest version, please try again
On 20 September 2016 at 19:49, aubonpain [email protected] wrote:
msnodesqlv8 is at 0.2.8. is still having trouble with node version 6.5.0.
It fails with: "Error: None of the binaries loaded succesully. Is your node
version either 0.12.x or 4.1.x".—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG9km-LS77BJA-VnF0mBLYkxwdSQGKzuks5qsCqggaJpZM4IZEoR
.
from node-sqlserver-v8.
Hmm, I'm still getting the same 'None of the binaries loaded successfully. Is your node version either 0.12.x or 4.1.x'. I cleared the cache (npm cache clean msnodesqlv8) and reinstalled globally. This is my package.json in case that helps w/ seeing whether there are non-explicit dependency errors:
"engines": {
"node": ">=6.5.0"
},
"dependencies": {
"chai": "~1.9.1",
"config": "~1.6.0",
"format-json": "~1.0.3",
"grunt": "~0.4.5",
"grunt-eslint": ">=2.0.0",
"grunt-githooks": "~0.3.1",
"grunt-mocha-test": "^0.12.2",
"load-grunt-tasks": "^1.0.0",
"lodash": "~2.4.1",
"mocha": "~2.0.1",
"mocha-jenkins-reporter": "0.1.9",
"requirejs": "~2.1.14",
"superagent": "~0.20.0",
"mssql":">=3.0.0",
"msnodesqlv8": "~0.1.35"
},
from node-sqlserver-v8.
can you try Node 6.6.0, this is the version I have built against.
On 20 September 2016 at 22:12, aubonpain [email protected] wrote:
Hmm, I'm still getting the same 'None of the binaries loaded successfully.
Is your node version either 0.12.x or 4.1.x'. I cleared the cache (npm
cache clean msnodesqlv8) and reinstalled globally. This is my package.json
in case that helps w/ seeing whether there are non-explicit dependency
errors:"engines": {
"node": ">=6.5.0"
},
"dependencies": {
"chai": "~1.9.1",
"config": "~1.6.0",
"format-json": "~1.0.3",
"grunt": "~0.4.5",
"grunt-eslint": ">=2.0.0",
"grunt-githooks": "~0.3.1",
"grunt-mocha-test": "^0.12.2",
"load-grunt-tasks": "^1.0.0",
"lodash": "~2.4.1",
"mocha": "~2.0.1",
"mocha-jenkins-reporter": "0.1.9",
"requirejs": "~2.1.14",
"superagent": "~0.20.0",
"mssql":">=3.0.0",
"msnodesqlv8": "~0.1.35"
},—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG9km5Mrch8oE08pooJIDhaRP4PK2r3cks5qsEwpgaJpZM4IZEoR
.
from node-sqlserver-v8.
the error raised in sqlserver.native.js (which I need to correct, versions
are out of date)
is as below - are you definitely running 0.2.9
throw new Error('None of the binaries loaded successfully. Is your
node version either >= 0.12.7 or >= 4.2.x or >= 5.1.1 or >= 6.1.0'
Also, out of interest can you install the library locally in your project, I wonder if the bootstrap loads the library correctly when globally installed. If that is the case that will also be a bug.
On 20 September 2016 at 22:12, aubonpain [email protected] wrote:
Hmm, I'm still getting the same 'None of the binaries loaded successfully.
Is your node version either 0.12.x or 4.1.x'. I cleared the cache (npm
cache clean msnodesqlv8) and reinstalled globally. This is my package.json
in case that helps w/ seeing whether there are non-explicit dependency
errors:"engines": {
"node": ">=6.5.0"
},
"dependencies": {
"chai": "~1.9.1",
"config": "~1.6.0",
"format-json": "~1.0.3",
"grunt": "~0.4.5",
"grunt-eslint": ">=2.0.0",
"grunt-githooks": "~0.3.1",
"grunt-mocha-test": "^0.12.2",
"load-grunt-tasks": "^1.0.0",
"lodash": "~2.4.1",
"mocha": "~2.0.1",
"mocha-jenkins-reporter": "0.1.9",
"requirejs": "~2.1.14",
"superagent": "~0.20.0",
"mssql":">=3.0.0",
"msnodesqlv8": "~0.1.35"
},—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG9km5Mrch8oE08pooJIDhaRP4PK2r3cks5qsEwpgaJpZM4IZEoR
.
from node-sqlserver-v8.
That is so weird - what you're saying makes sense and I should see the new error message, but after I installed node 6.6.0, and reinstalled using npm install -g msnodesqlv8 again it shows:
Which is good. But, when I run my tests:
Which is not what you've got in your exception message. Do you think something isn't getting pushed with the 0.2.9 build? I even did a blanket npm install -g so all the latest dependencies from package.json would reinstall, but still getting the same error...
from node-sqlserver-v8.
is the module installed in C:\Program Files\nodejs\node_modules\npm\node_modules
if that is the case, can you find the lib\sqlserver.native.js file and change the error to ensure this is the one your loading. Or possibly rename the actual msnodesqlv8 folder temporarily and see if you still load an old version from somewhere else.
I will have to check the documents I assume it is possible to find out from node where a module has loaded from which would help us.
from node-sqlserver-v8.
Okay, it worked. I basically had to blow away my entire node_modules, redo npm install, then my code ran without errors. Thank you for the fix!
from node-sqlserver-v8.
Related Issues (20)
- Change node-gyp path to download nodejs headers from msnodesqlv8 installation HOT 2
- Why are database field names garbled when using Chinese fields? HOT 3
- msnodesqlv8 can't find sqltypes.h HOT 2
- install msnodesqlv8 through npm failed HOT 2
- Keep saying Module not found of sqlserverv8 HOT 6
- Question: Using prepared query with Pool
- unable to build on CentOS7 HOT 3
- Prebuilt binaries for Node 20 / alpine HOT 3
- Cannot use without 'require'? HOT 1
- Module not found: Can't resolve '../build/Release/sqlserverv8' HOT 10
- Module did not self-register: sqlserverv8.node HOT 7
- npm install --save msnodesqlv8 fails MSBuild.exe failed with exit code: 1 HOT 5
- import { SqlClient } from "msnodesqlv8/types"; Cannot find module 'msnodesqlv8/types' or its corresponding type declarations HOT 1
- Unable to initialize msnodesql during Hot Module Reload (HMR) HOT 2
- Security vulnerability detected in latest HOT 1
- uncaughtException: Cannot read properties of null (reading 'query') HOT 3
- `ConcreteColumnType.parseSS` method tampers with plain date strings HOT 3
- Cannot find module '../build/Release/sqlserverv8.node' - Windows 10 / node.js v20.11.0/v21.6.1 HOT 1
- npm install results in LNK1127: library is corrupt HOT 1
- Uncaught Exception: static Sybase = new ServerDialect("Sybase")
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sqlserver-v8.