Unable to upgrade UI and Core to 8.10.0 version

Product: PDFTron DocumentViewer Web

Product Version: 8.10.0

Please give a brief summary of your issue: Upgraded @pdftron/webviewer to “8.10.0” from 8.7.0
But UI and core is still showing as 8.9.0

(index) Value
UI version ‘8.9.0’
Core version ‘8.9.0’
webviewer.min.js ‘8.9.0’

Package.json shows a success upgrade.

Used this command: npm i @pdftron/webviewer

Please describe your issue and provide steps to reproduce it:

I checked the version of Webviewer as provided in the documentation and followed these checks as below

Please provide a link to a minimal sample where the issue is reproducible:

image

image

Is there anywhere else we need to do this manually?
Does the CORE & UI version remain at 8.9.0 even after upgrading webviewer to 8.10.0
Any specific commands to upgrade? Ideally any package should automatically upgrade their instances to newer version without having to use specific commands
Awaiting for your reply.
Please let me know if you need further information on this.

Regards,
Sunethra

1 Like

You may probably need to delete the node_modules folder and re-install with the npm install command.

1 Like

Hi,
Thank you for your reply.
I have reinstalled and cleared cache and everything. However, it still renders 8.9 CORE and UI version

(index) Value
UI version ‘8.9.0’
Core version ‘8.9.0’
webviewer.min.js ‘8.9.0’
WebViewer Server false
Full API true
2 Likes

Did you get Any Help on this issue?

I m facing same issue while upgrading v8.12.0 to v11.2.0

If you are able to solve above problem please guide me on above issue.

1 Like

Hello @dgosai,

If I understand correctly, after installing dependencies using “npm install” to upgrade to Version 11.2, the console is still reporting that you are on Version 8.12? Let me know if I’ve misunderstood the issue you are reporting.

If you haven’t already, please make sure to update the static assets. This is done by taking the files located in node_modules/@pdftron/webviewer/public and moving them to where the path option in the WebViewer constructor is located (replacing the existing files there) (value of path may be different than your project).

After this is done, make sure to clear your browser cache.

Let us know if this works for you!

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.

1 Like