Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This problem occurs because in the target packege in scripts/install.js there's invalid url to the driver. Actually on Microsoft Download you will find msnodesql-0.2.1-v0.8-x64.msi but not msnodesql-0.2.1-v0.10-x64.msi which is pointed in script. The only way to correct it is to install it from local drive.</p> <p>Download the Drive separately from <a href="http://www.microsoft.com/en-us/download/details.aspx?id=29995">http://www.microsoft.com/en-us/download/details.aspx?id=29995</a>. Then I advise you the following:</p> <ol> <li>download from <a href="https://github.com/WindowsAzure/node-sqlserver">Git Hub (msnodesql)</a> Zipped package. Unzip it to the local drive</li> <li><p>In the unzipped directory replace the contents of the </p> <pre><code>scripts/install.js </code></pre> <p>as the following:</p> <pre><code>var assert=require('assert'); var subprocess=require('child_process'); var package=require('../package.json'); function log( msg ) { console.log( "install.js: " + msg ); } console.log( "You are installing driver locally." ); var msiName = 'HERE_IS_THE_PATH_TO_YOUR_DOWNLOADED_DRIVER\\msnodesql-0.2.1-v0.8-x64.msi'; // run the msi to extract the driver inside var msiCmd = [ 'cmd', '/c', 'msiexec', '/i', msiName, '/quiet','IACCEPTMSNODESQLLICENSETERMS=Yes', 'NPMINSTALL=Yes' ].join(' '); subprocess.exec( msiCmd, function( error, stdout, stderr ) { if( error !== null ) { log( error ); log( stdout ); process.exit( 1 ); } }); </code></pre></li> </ol> <p>Then just run</p> <pre><code>npm install FULL_PATH_TO_UNZIPPED_PACKAGE_DIR </code></pre> <p>The install process should not fail. And in you app's modules folder will be a</p> <pre><code> msnodesql </code></pre> <p>package. Then you should download (if you are not building by your self) the</p> <pre><code>sqlserver.node </code></pre> <p>from Git Hub (my reputation doesn't allow to post me link to it, so I'll reply with it if you need it) and place it to the</p> <p>lib folder of your <strong>msnodesql</strong> module directory. This should help you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload