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
Hi, it failed when i run this dapp, the error is as following, could you please help point out how to correct this.
error in ./node_modules/web3modal-vue/src/providers/connectors/torus.js
Module parse failed: Unexpected token (19:44)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| const torus = new Torus({
Hi, it failed when i run this dapp, the error is as following, could you please help point out how to correct this.
error in ./node_modules/web3modal-vue/src/providers/connectors/torus.js
Module parse failed: Unexpected token (19:44)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| const torus = new Torus({
| apiKey: opts.config?.apiKey || apiKey,
| modalZIndex: opts.config?.modalZIndex || modalZIndex
@ ./node_modules/web3modal-vue/src/providers/connectors/index.js 5:0-28 14:0-27:2
@ ./node_modules/web3modal-vue/src/providers/index.js
@ ./node_modules/web3modal-vue/src/controllers/providers.js
@ ./node_modules/web3modal-vue/src/controllers/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/web3modal-vue/src/Web3ModalVue.vue?vue&type=script&lang=js&
@ ./node_modules/web3modal-vue/src/Web3ModalVue.vue?vue&type=script&lang=js&
@ ./node_modules/web3modal-vue/src/Web3ModalVue.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/WalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/WalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/WalletConnect.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.1.105:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
The text was updated successfully, but these errors were encountered: