Npm Install aspose.slides.via.java Is Not Working

Hi support,

Installing aspose.slides.via.java using npm install command is giving error. Can you please assist us with installing aspose.slides.via.java using npm install command.
Node version is: 18.16.0
Jdk version: 1.8

@karanmarsh,

After an initial testing, I was able to reproduce the issue as you mentioned. I found when installing Aspose.Slides for Node.js via Java from NPM (command) is giving error(s).

We require thorough evaluation of the issue. 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-51

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.

@amjad.sahi
Hi, Is there any update on this ?

@karanmarsh,

We are sorry but no updates available on it. Hopefully, it will be fixed soon. In the meantime, you may try to download it and extract the package to set it up manually.
https://releases.aspose.com/slides/nodejs-java/

@amjad.sahi
Hi , we are using this workaround of manually extracting package in our local environment but now we want to integrate this with our project as an npm library.

@karanmarsh,

Could you please share your complete environment details including the followoing:

  1. Version of Python.
  2. Operating system.

We plan to look into the issue in the next week.

@amjad.sahi
Environment details
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,

Thanks for providing the required details.

We will be looing into it soon.

@amjad.sahi
Hi Amjad, any update on this ?

@karanmarsh,
Our developers are investigating the case. Unfortunately, we don’t have any additional information yet. Thank you for your patience.

@andrey.potapov
Hi, Can you please let us know the approximate time for resolution ?

@karanmarsh,
We reproduced the exception like this one:

utils.cpp(487): error C2039: ‘GetContents’: is not a member of ‘v8::ArrayBuffer’

Is this the only exception that you have or are there other errors?

@andrey.potapov
Hi, Yes we have faced this error.

@karanmarsh,
Thank you for the information. Our developers are working on the issue.

@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

Hi @andrey.potapov
Can you please let me know the requisite software versions required so that I can test now.

@karanmarsh,
We tested using the following versions:

Java – 1.8.0_202 (or newer, for example 1.8.0_371, 1.8.0_391)
Python – 3.12.0
Node.js – 18.19.0

Aspose.Slides for Node.js 24.1 will be published in the coming days, you will be notified.

@andrey.potapov Hi, any update on the newer version release of Aspose ?

@karanmarsh,
The issue has been resolved in Aspose.Slides for Node.js 24.1. Due to our error, you did not receive the notification. We apologize for any inconvenience caused. Please check your results using the latest version of Aspose.Slides for Node.js.

Thanks. Closing this ticket.