About error " WebViewerJS version not found."

WebViewer Version: Cire 8.7.0

Do you have an issue with a specific file(s)? yes
Can you reproduce using one of our samples or online demos? no
Are you using the WebViewer server? false
Does the issue only happen on certain browsers? no
Is your issue related to a front-end framework? no
Is your issue related to annotations? no

Please give a brief summary of your issue:
(Think of this as an email subject)

i installed this pacakge by yarn.
And PDFTron is applied on nuxt project
But happen error on console.

closeDocument.js:69 WebViewerJS version not found. Please update webviewer.min.js to the latest version.

what can i do for solving this error?

image
image

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello @laneyson.dev

I was not able to reproduce the issue. Here is what I’ve tried:

  • Opened the terminal
  • Cloned https://github.com/PDFTron/webviewer-nuxtjs-sample.git into a new folder
  • Went to that new folder with the cloned repository
  • Ran yarn to install the dependencies
  • Opened package.json and changed WebViewer’s version to ^8.7.0
  • Ran yarn again to update WebViewer’s package
  • Ran yarn build
  • Ran yarn start
    At this point, everything was working as expected on localhost:3000

Were these the steps you took to setup your project?