-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot find module '../build/Release/sqlserverv8.node' - Windows 10 / node.js v20.11.0/v21.6.1 #319
Comments
I got it to work by placing the tar.gz file in the folder mentioned in the verbose stack (as per However, now, while my dev server is working just fine, my prod server shows the following when attempting to start my node.js server:
The '../build/' folder is indeed empty on my prod server, but not on my dev server. I've installed the package in exactly the same manner on both servers. I cannot manually copy the contents of the '../build/' folder from dev to prod, since my dev server uses node v20.11.0 while prod uses node v21.6.1 (for no apparent reason, since I used the same msi-file from https://nodejs.org/ on both servers). Manually copying the contents results in a "Module did not self-register" error instead. |
After updating to node v.20.11.0 (and npm v10.4.0), I cannot install msnodesqlv8. It was working fine before, but the update required me to rebuild my project and now installation is failing on this package (
npm install msnodesqlv8 --save
, with or without--save
). Installing another package (npm install ws
) works just fine.I am running my project on a server with 64-bit Windows 10 (Windows Server 2019 Datacenter), x64 based processor.
This is the full stack trace after running
npm install msnodesqlv8 --save
:The text was updated successfully, but these errors were encountered: