Windows/NodeJS SDK installation error

Product: NodeJS PDFNet SDK

Product Version: 9.4.0

Issue with Installation on Windows Server 2019 x64.

I’m facing an issue with installing the SDK for NodeJS on Windows 2019.

The URL “https://www.pdftron.com/downloads/PDFNetNode/9.4.0/pdfnet-addon-v9.4.0-node-v93-win32-ia32.tar.gz” is giving me a “403 Forbidden” response!

Node Version: 16.14.0
NPM Version: 8.3.1

Here’s the error I get when I run “npm i @pdftron/pdfnet-node”:

I tried deleting “node_modules” directory and package-lock.json, and I still get the same error.

It appears that your node configuration is attempting to pull the 32-bit version of the SDK which we do not support:

The link that gives a 404:

https://www.pdftron.com/downloads/PDFNetNode/9.4.0/pdfnet-addon-v9.4.0-node-v93-win32-ia32.tar.gz

Expected link (which is supported):

https://www.pdftron.com/downloads/PDFNetNode/9.4.0/pdfnet-addon-v9.4.0-node-v93-win32-x64.tar.gz

Please double check your configuration and make sure it is pulling the 64 bit version of the SDK.

1 Like