Describe the bug
Hi , when i implement "@toruslabs/torus-embed" i got error
My code :
import Torus from "@toruslabs/torus-embed";
import Web3 from "web3";
const torus = new Torus();
Error :
asStream.js:5 Uncaught TypeError: Class extends value undefined is not a constructor or null
at eval (asStream.js:5:46)
at ./node_modules/@metamask/obs-store/dist/asStream.js (compile_app.js:63:1)
at webpack_require__ (compile_app.js:1304:42)
at eval (index.js:13:14)
at ./node_modules/@metamask/obs-store/dist/index.js (compile_app.js:74:1)
at webpack_require (compile_app.js:1304:42)
at eval (torus.esm.js:19:77)
at ./node_modules/@toruslabs/torus-embed/dist/torus.esm.js (compile_app.js:140:1)
at __webpack_require (compile_app.js:1304:42)
at eval (app.js:2:80)
Describe the bug Hi , when i implement "@toruslabs/torus-embed" i got error
My code :
Error :
asStream.js:5 Uncaught TypeError: Class extends value undefined is not a constructor or null at eval (asStream.js:5:46) at ./node_modules/@metamask/obs-store/dist/asStream.js (compile_app.js:63:1) at webpack_require__ (compile_app.js:1304:42) at eval (index.js:13:14) at ./node_modules/@metamask/obs-store/dist/index.js (compile_app.js:74:1) at webpack_require (compile_app.js:1304:42) at eval (torus.esm.js:19:77) at ./node_modules/@toruslabs/torus-embed/dist/torus.esm.js (compile_app.js:140:1) at __webpack_require (compile_app.js:1304:42) at eval (app.js:2:80)