The error seems to be cause by Webpack 5 not being able to resolve the imports within a .mjs file.
vsh in ~/Documents/github/crypto/algorand/reach/battleship/client(ruby-3.0.0) on master λ npm run nodeserve
> [email protected] nodeserve
> node server.js
Battleship client development server running on port 3000...
✖ 「wdm」: assets by chunk 3.39 MiB (name: index)
asset index.bundle.js 3.39 MiB [emitted] (name: index)
asset index.css 21 bytes [emitted] (name: index)
asset 10fe4030c4f3a48a7c95.png 6.42 KiB [emitted] [immutable] [from: src/assets/battleship.png] (auxiliary name: index)
asset index.html 376 bytes [emitted]
Entrypoint index 3.39 MiB (6.42 KiB) = index.css 21 bytes index.bundle.js 3.39 MiB 1 auxiliary asset
orphan modules 2.27 KiB [orphan] 8 modules
runtime modules 1.31 KiB 8 modules
modules by path ./node_modules/ 2.93 MiB 265 modules
modules by path ./src/ 4.41 KiB (javascript) 6.42 KiB (asset) 20 bytes (css/mini-extract)
javascript modules 4.31 KiB
./src/index.js 252 bytes [built] [code generated] [1 warning]
./src/App.js 4.02 KiB [built] [code generated] [1 warning]
./src/App.css 50 bytes [built] [code generated]
modules by path ./src/assets/ 99 bytes (javascript) 6.42 KiB (asset)
./src/assets/battleship.png 42 bytes (javascript) 6.42 KiB (asset) [built] [code generated]
./src/assets/game-description.json 57 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./src/App.css 20 bytes [code generated]
buffer (ignored) 15 bytes [optional] [built] [code generated]
crypto (ignored) 15 bytes [built] [code generated]
./util.inspect (ignored) 15 bytes [built] [code generated]
WARNING in ./src/App.js
Module Warning (from ./node_modules/eslint-loader/dist/cjs.js):
/Users/vsh/Documents/github/crypto/algorand/reach/battleship/client/src/App.js
6:8 warning Missing space before function parentheses space-before-function-paren
15:9 warning Missing space before function parentheses space-before-function-paren
✖ 2 problems (0 errors, 2 warnings)
0 errors and 2 warnings potentially fixable with the `--fix` option.
@ ./src/index.js 4:0-24 6:50-53
WARNING in ./src/index.js
Module Warning (from ./node_modules/eslint-loader/dist/cjs.js):
/Users/vsh/Documents/github/crypto/algorand/reach/battleship/client/src/index.js
1:8 warning 'React' is defined but never used no-unused-vars
3:13 warning 'reach' is defined but never used no-unused-vars
4:8 warning 'App' is defined but never used no-unused-vars
✖ 3 problems (0 errors, 3 warnings)
ERROR in ./node_modules/@reach-sh/stdlib/ALGO.mjs 582:10-24
export 'default' (imported as 'msgpack') was not found in '@msgpack/msgpack' (possible exports: DataViewIndexOutOfBoundsError, DecodeError, Decoder, EXT_TIMESTAMP, Encoder, ExtData, ExtensionCodec, decode, decodeArrayStream, decodeAsync, decodeMulti, decodeMultiStream, decodeStream, decodeTimestampExtension, decodeTimestampToTimeSpec, encode, encodeDateToTimeSpec, encodeTimeSpecToTimestamp, encodeTimestampExtension)
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO.mjs 613:10-24
export 'default' (imported as 'msgpack') was not found in '@msgpack/msgpack' (possible exports: DataViewIndexOutOfBoundsError, DecodeError, Decoder, EXT_TIMESTAMP, Encoder, ExtData, ExtensionCodec, decode, decodeArrayStream, decodeAsync, decodeMulti, decodeMultiStream, decodeStream, decodeTimestampExtension, decodeTimestampToTimeSpec, encode, encodeDateToTimeSpec, encodeTimeSpecToTimestamp, encodeTimestampExtension)
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO.mjs 895:17-38
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO.mjs 1140:13-34
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 11:18-34
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 30:18-38
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 30:39-60
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 34:11-32
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 39:18-42
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 40:20-45
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 44:18-39
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 45:20-40
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 81:11-30
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 99:11-30
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 118:11-30
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 141:13-32
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/ALGO_compiled.mjs 175:13-32
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 17:0-103 19:43-57 373:46-60 374:127-135 643:9-21 927:51-65 978:94-108 1022:28-42 1035:76-90 1233:9-23 1235:27-41
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/CBR.mjs 2:18-34
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/shared.mjs 3:0-60 5:0-43 5:0-43 110:13-25 138:37-49 143:15-27 161:28-40 161:47-59 164:30-42 164:50-62 165:30-42 165:50-62 166:30-42 166:50-62 167:30-42 167:50-62 168:30-42 168:50-62 171:28-40 171:48-60 172:28-40 172:47-59 173:28-40 173:48-60 174:28-40 174:47-59 199:77-89 200:31-43
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/CBR.mjs 32:18-39
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/shared.mjs 3:0-60 5:0-43 5:0-43 110:13-25 138:37-49 143:15-27 161:28-40 161:47-59 164:30-42 164:50-62 165:30-42 165:50-62 166:30-42 166:50-62 167:30-42 167:50-62 168:30-42 168:50-62 171:28-40 171:48-60 172:28-40 172:47-59 173:28-40 173:48-60 174:28-40 174:47-59 199:77-89 200:31-43
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/CBR.mjs 88:16-40
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/shared.mjs 3:0-60 5:0-43 5:0-43 110:13-25 138:37-49 143:15-27 161:28-40 161:47-59 164:30-42 164:50-62 165:30-42 165:50-62 166:30-42 166:50-62 167:30-42 167:50-62 168:30-42 168:50-62 171:28-40 171:48-60 172:28-40 172:47-59 173:28-40 173:48-60 174:28-40 174:47-59 199:77-89 200:31-43
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 1:0-28
Module not found: Error: Can't resolve 'crypto' in '/Users/vsh/Documents/github/crypto/algorand/reach/battleship/client/node_modules/@reach-sh/stdlib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 4:0-24
Module not found: Error: Can't resolve 'util' in '/Users/vsh/Documents/github/crypto/algorand/reach/battleship/client/node_modules/@reach-sh/stdlib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 64:60-72
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 65:18-34
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 134:12-34
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/@reach-sh/stdlib/shared.mjs 145:15-38
export 'default' (imported as 'ethers') was not found in 'ethers' (possible exports: BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, constants, errors, ethers, getDefaultProvider, logger, providers, utils, version, wordlists)
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 14:0-168 20:0-29 20:0-29 80:6-11 84:4-9 92:2-7 102:2-7 112:4-9 122:2-7 125:4-9 129:4-9 298:77-89 301:4-9 351:2-7 358:2-7 375:41-51 396:2-7 400:2-7 479:22-32 483:30-40 548:45-55 557:17-34 559:102-119 566:18-30 580:4-9 581:4-9 582:4-9 602:4-9 604:4-9 605:4-9 611:4-9 612:4-9 613:4-9 624:2-7 640:4-9 649:33-45 665:6-11 670:25-34 671:33-42 675:14-26 685:6-11 689:6-11 695:6-11 701:10-15 703:12-17 707:8-13 712:20-32 737:12-18 748:8-13 749:8-14 752:92-104 754:8-13 766:8-13 768:8-13 775:8-13 777:8-13 800:10-15 812:8-13 817:10-15 820:12-17 822:12-17 846:6-11 875:8-13 886:8-13 888:8-13 894:10-15 897:8-13 900:8-13 901:24-33 902:8-13 905:8-13 908:8-13 911:8-13 920:16-28 926:37-49 929:6-11 936:8-13 943:8-13 945:8-13 947:8-13 949:8-13 957:17-34 958:6-11 960:6-11 965:6-11 967:6-11 970:8-13 973:8-13 977:21-35 982:4-9 1019:4-9 1024:11-24 1027:11-24 1043:9-21 1069:21-32 1072:9-21 1076:30-42 1093:23-35 1108:6-11 1111:6-11 1158:42-54 1163:4-9 1165:18-30 1168:2-7 1173:2-7 1194:2-7 1204:6-11 1210:2-7
@ ./src/index.js 3:0-51
ERROR in ./node_modules/wait-port/lib/wait-port.js 2:12-26
Module not found: Error: Can't resolve 'net' in '/Users/vsh/Documents/github/crypto/algorand/reach/battleship/client/node_modules/wait-port/lib'
@ ./node_modules/@reach-sh/stdlib/waitPort.mjs 1:0-36 22:8-19
@ ./node_modules/@reach-sh/stdlib/ALGO.mjs 15:0-38 34:15-23
@ ./src/index.js 3:0-51
3 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.37.1 compiled with 27 errors and 2 warnings in 2333 ms
ℹ 「wdm」: Failed to compile.