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
aes-js is currently causing issue for es-module based system like https://vitejs.dev/
I am getting this error :
TypeError: Cannot read property 'aesjs' of undefined
at /@fs/C:/dev/wighawag/jolly-roger/node_modules/.pnpm/aes-js@3.0.0/node_modules/aes-js/index.js:790:18
at /@fs/C:/dev/wighawag/jolly-roger/node_modules/.pnpm/aes-js@3.0.0/node_modules/aes-js/index.js:798:3
at instantiateModule (C:\dev\wighawag\jolly-roger\node_modules\.pnpm\vite@2.1.5\node_modules\vite\dist\node\chunks\dep-66eb515d.js:69030:166)
which indicate that this line fails root is undefined :
aes-js is currently causing issue for es-module based system like https://vitejs.dev/
I am getting this error :
which indicate that this line fails root is undefined :
aes-js/index.js
Line 795 in 7c9fad4
Note that the error comes when importing
@ethersproject/wallet
that relies on aes-jsMy current workaround is to use my fork of aes-js which expose es-module only via this minimal change : master...wighawag:as-es-module
The text was updated successfully, but these errors were encountered: