You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@licarigianluca I have done the same npm install in a fresh copy of CAdESjs repository:
npm installnpm WARN deprecated object-keys@0.2.0: Please update to the latest object-keysnpm notice created a lockfile as package-lock.json. You should commit this file.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})added 909 packages from 658 contributors and audited 7531 packages in 17.206sfound 16 vulnerabilities (3 low, 11 moderate, 1 high, 1 critical) run `npm audit fix` to fix them, or `npm audit` for details
As you can see - no problems there. Do not really know what exactly you have done, but most probably you were trying to use ES6 modules inside ES5 code. Also the file name es6.js exists in CAdESjs only under examples folder, it is not a part of main library code. And in order to get the CAdESjs example working you need to run npm run build under the examples/CAdESComplexExample folder.
Hi,
I'm trying to install CAdES.js with 'npm install' but something goes wrong.
The console output
"Uncaught SyntaxError: Unexpected token *" in es6.js
Which is the correct way of installing it?
I'm trying also to link this library with Fortify. Can you help me please?
thank you
The text was updated successfully, but these errors were encountered: