Unable to see my document because of fullAPI

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.2.0

Detailed description of issue
Working with VueJs, I am not able to sign my document via my projects, the folowing error is shown : Full version of PDFNetJS has not been loaded. Please pass the “fullAPI: true” option in your WebViewer constructor to use the PDFNet APIs.

Expected behaviour
I should see my document and have the rights to sign it.

Does your issue happen with every document, or just one?
Every

Link to document
I do not have link

Code snippet

<template>
  <div ref="viewer" class="_pdfWebViewer"></div>
</template>

<script lang="ts">
//#region -> IMPORTS ///////////////////////////////////////////////////////////////////
import { Component, Vue, Prop, Emit } from "vue-property-decorator";
import WebViewer from '@pdftron/pdfjs-express';
import configManager from "~/@managers/configManager";
import  $ from 'jquery';
//#endregion

@Component({
    components :{
    }
})
export default class PdfWebViewer extends Vue {  

    $refs! : {
      viewer : HTMLDivElement,
      docIframe : HTMLIFrameElement
    }

    private async mounted() {
      
      const options = { 
        path: `/lib`,
        licenseKey : configManager.getConfig('pdfLicenseKey'),
        disabledElements: this.getElementsToDisable(),
        //isReadOnly : true
      };

      WebViewer(options, this.$refs.viewer).then((instance) => {
        
        instance.UI.disableFeatures([
          instance.Feature.Measurement, 
          instance.Feature.Ribbons, 
          instance.Feature.Annotations, 
          instance.Feature.Download, 
          instance.Feature.FilePicker, 
          instance.Feature.LocalStorage, 
          instance.Feature.NotesPanel, 
          instance.Feature.Print, 
          instance.Feature.Redaction, 
          instance.Feature.TextSelection, 
          instance.Feature.Copy, 
          instance.Feature.MultipleViewerMerging, 
          instance.Feature.ThumbnailMerging, 
          instance.Feature.ThumbnailReordering, 
          instance.Feature.Search, 
          instance.Feature.MathSymbols, 
          instance.Feature.OutlineEditing, 
          instance.Feature.NotesPanelVirtualizedList, 
          // instance.Feature.PageNavigation, 
          // instance.Feature.MouseWheelZoom, 
          instance.Feature.TouchScrollLock, 
        ]);

        // activates the hand document manipulation (zoom and move)
        instance.docViewer.setToolMode(instance.docViewer.getTool('Pan'));

        this.instance = instance;

        this.emitInit(instance);
      });
    }

Hi @julien.beduneau

Thank you for reporting this. I see you’re on version 8.2, could you update to the latest version (8.7) and see if this issue still persists?

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.

Yes, I tried to update to v8.7.0 and the problem is still here.

UI version	'8.7.0'

Core version	'8.7.0'

webviewer.min.js	'8.7.0'

Build	'Ny8yMC8yMDIyfDJhMWM5ZWYwOA=='

WebViewer Server	false

Full API	false`

It seems that node version is a problem within my project, I have degraded to node 14 and it worked properly, but still, I should not have any problem with updating my dependencies and using pdfjs ?

So just to confirm you were using Node v16 and downgraded to v14 and there are no errors appearing?

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.

Yes, that’s it ! With Node 14 it worked