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
Describe the bug
After upgrading from version 1.0.1 to version 1.2.0 (or @latest or @next), the build step for my app fails with:
Error: ./node_modules/did-jwt/lib/index.js 1:4514 -- Module parse failed: Unexpected token (1:4514) -- You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
It appears to point to the statement with the first use of Optional Chaining in that program.
I've tried to upgrade and downgrade did-jwt, but still the same issue. I also tried adding resolutions to downgrade it in the package.json. Any ideas?
Versions:
Veramo: 1.2.x
OS: Windows 10
Node: 14.16.0
npm: 6.14.13
ionic: 6.16.1
angular: 8.3.29
yarn: 1.22.10
typescript: 4.3.2
The text was updated successfully, but these errors were encountered:
It appears that the way I upgraded was the issue. I had done a "yarn upgrade" command listing all the @veramo modules and that apparently caused the issue. I deleted the node_modules folder, updated the version numbers in the package.json file, then did a "yarn install". That cleared the issue.
Jason, I already had similar statements in the polyfills file, but thanks.
Bug severity
4
Describe the bug
After upgrading from version 1.0.1 to version 1.2.0 (or @latest or @next), the build step for my app fails with:
Error: ./node_modules/did-jwt/lib/index.js 1:4514 -- Module parse failed: Unexpected token (1:4514) -- You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
It appears to point to the statement with the first use of Optional Chaining in that program.
I've tried to upgrade and downgrade did-jwt, but still the same issue. I also tried adding resolutions to downgrade it in the package.json. Any ideas?
Versions:
The text was updated successfully, but these errors were encountered: