Hi Support,
aspose.slides.via.java works with direct download. That is downloading zip file and extracting it inside node_modules but throws error using the npm install command.
image.png (21.6 KB)
Also how do we upgrade the package in case of vulnerability ?
@karanmarsh,
Thank you for contacting support. I am working on the question and will get back to you soon.
@karanmarsh,
Thank you for your patience. Please follow the instructions below to install Aspose.Slides for Node.js via Java:
If the issue persists, please share the following information:
- OS version on which the errors occurred
- Java versions installed on the OS
- Python version installed on the OS
- Node.js version installed on the OS
@andrey.potapov
Unfortunately the issue persists. The direct download method works after so much effort. Had to replace
npm install --global --production windows-build-tools
this command with
npm install --global --production windows-build-tools@4.0.0
or another workaround was as mentioned in this link as first answer
Can you please guide us how to smoothly setup the system to install using npm i command.
System specifications are
OS:
Windows 10 Enterprise, 64-bit operating system, x64-based processor
Java:
java version “1.8.0_202”
Java™ SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot™ 64-Bit Server VM (build 25.202-b08, mixed mode)
Python:
Python 3.12.0
NodeJs:
v17.9.1 also tried on version 18. We would like to continue with version 18.
@karanmarsh,
Thank you for the details.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESNODEJS-50
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
@andrey.potapov
any update on this ?
@karanmarsh,
It looks like the problem is specific to your configuration, java-node cannot be installed correctly. For example, it may fail to locate the compiler, Python, or Java sources. Alternatively, it might be incompatible with the already installed versions of other JavaScript libraries.
@karanmarsh,
The problem indicates that an error occurred while installing the Java packages. Notably, this problem is absent on Node.js versions preceding 14. In pursuit of comprehensive functionality across all versions, a thorough investigation was conducted. It has been determined that upgrading the Java package to the latest version is feasible.
The issue will be solved in Aspose.Slides for Node.js 24.1. This release will be published in the second half of January.
Testing after updating the version java package has not unearthed any anomalies under the condition that all requisite software is appropriately installed:
- JDK
- Python
- Node
- VS (Desktop development with C++) for node-gyp