Git Product home page Git Product logo

Comments (15)

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

NoelAbrahams avatar NoelAbrahams commented on September 24, 2024

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.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

NoelAbrahams avatar NoelAbrahams commented on September 24, 2024

@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.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

NoelAbrahams avatar NoelAbrahams commented on September 24, 2024

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.

aubonpain avatar aubonpain commented on September 24, 2024

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.

TimelordUK avatar TimelordUK commented on September 24, 2024

can you try latest version 0.2.9

from node-sqlserver-v8.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

aubonpain avatar aubonpain commented on September 24, 2024

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.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

aubonpain avatar aubonpain commented on September 24, 2024

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:

image

Which is good. But, when I run my tests:

image

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.

TimelordUK avatar TimelordUK commented on September 24, 2024

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.

aubonpain avatar aubonpain commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.