DjedAlliance / Djed-Solidity-WebDashboard

https://djed.one
10 stars 20 forks source link

Fix warnings #72

Closed ceilican closed 6 months ago

ceilican commented 1 year ago

Warnings when built with node-18:

Deploy started at 2023-05-31T14:56:00.020Z

2023-05-31T14:56:02.017Z: Deploy started 2023-05-31T14:56:03.594Z: Docker image: 'fleek/create-react-app:node-18' 2023-05-31T14:56:03.594Z: Build command: 'npm install && npm run build:milkomeda-c1-testnet' 2023-05-31T14:56:03.594Z: Triggering build execution... 2023-05-31T14:56:44.426Z: npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. 2023-05-31T14:56:44.867Z: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 2023-05-31T14:56:44.902Z: npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated 2023-05-31T14:56:44.979Z: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 2023-05-31T14:56:45.062Z: npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 2023-05-31T14:56:45.080Z: npm WARN deprecated safe-event-emitter@1.0.1: Renamed to @metamask/safe-event-emitter 2023-05-31T14:56:45.802Z: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 2023-05-31T14:56:46.260Z: npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. 2023-05-31T14:56:46.920Z: npm WARN deprecated multibase@0.6.1: This module has been superseded by the multiformats module 2023-05-31T14:56:46.965Z: npm WARN deprecated multicodec@0.5.7: This module has been superseded by the multiformats module 2023-05-31T14:56:47.266Z: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 2023-05-31T14:56:47.394Z: npm WARN deprecated har-validator@5.1.5: this library is no longer supported 2023-05-31T14:56:49.916Z: npm WARN deprecated @walletconnect/client@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:56:51.052Z: npm WARN deprecated @json-rpc-tools/provider@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T14:56:51.250Z: npm WARN deprecated @json-rpc-tools/utils@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T14:56:51.346Z: npm WARN deprecated @json-rpc-tools/types@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T14:56:52.204Z: npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-05-31T14:56:52.482Z: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-05-31T14:56:52.959Z: npm WARN deprecated cids@0.7.5: This module has been superseded by the multiformats module 2023-05-31T14:56:53.206Z: npm WARN deprecated multibase@0.7.0: This module has been superseded by the multiformats module 2023-05-31T14:56:53.516Z: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:56:53.651Z: npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module 2023-05-31T14:56:53.653Z: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:56:53.654Z: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:56:53.729Z: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:56:53.796Z: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 2023-05-31T14:57:06.960Z: added 2137 packages, and audited 2138 packages in 28s 2023-05-31T14:57:06.961Z: 313 packages are looking for funding 2023-05-31T14:57:06.961Z: run npm fund for details 2023-05-31T14:57:06.970Z: 17 vulnerabilities (6 moderate, 10 high, 1 critical) 2023-05-31T14:57:06.970Z: To address issues that do not require attention, run: 2023-05-31T14:57:06.970Z: npm audit fix 2023-05-31T14:57:06.970Z: To address all issues (including breaking changes), run: 2023-05-31T14:57:06.970Z: npm audit fix --force 2023-05-31T14:57:06.970Z: Run npm audit for details. 2023-05-31T14:57:06.970Z: npm notice 2023-05-31T14:57:06.970Z: npm notice New major version of npm available! 8.19.3 -> 9.6.7 2023-05-31T14:57:06.970Z: npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.7 2023-05-31T14:57:06.970Z: npm notice Run npm install -g npm@9.6.7 to update! 2023-05-31T14:57:06.970Z: npm notice 2023-05-31T14:57:07.210Z: > spark-stablecoin-web@0.1.0 build:milkomeda-c1-testnet 2023-05-31T14:57:07.210Z: > npx -y env-cmd -f ./env/milkomeda-c1-testnet.env npm run build 2023-05-31T14:57:09.497Z: > spark-stablecoin-web@0.1.0 build 2023-05-31T14:57:09.497Z: > craco build 2023-05-31T14:57:10.489Z: Creating an optimized production build... 2023-05-31T14:58:33.060Z: Compiled with warnings. 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/safe-json/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/safe-json/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/window-getters/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/window-getters/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/window-metadata/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/node_modules/@walletconnect/window-metadata/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/errors.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/errors.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/events.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/events.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/storage.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/storage.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/core/src/url.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/constants.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/encoding.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/ethereum.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/ethereum.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/misc.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/payload.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/payload.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/session.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/session.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/url.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/node_modules/@walletconnect/utils/src/validators.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/encoding/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/encoding/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/env.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/constants.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/encoding.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/ethereum.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/ethereum.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/misc.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/payload.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/payload.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/session.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/session.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/url.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/node_modules/@walletconnect/utils/src/validators.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/constants.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/encoding.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/ethereum.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/ethereum.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/misc.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/payload.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/payload.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/session.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/session.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/url.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/node_modules/@walletconnect/utils/src/validators.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/index.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/utils.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' 2023-05-31T14:58:33.060Z: Failed to parse source map: 'webpack://antd/./components/config-provider/style/index.less' URL is not supported 2023-05-31T14:58:33.060Z: Failed to parse source map: 'webpack://antd/./components/icon/style/index.less' URL is not supported 2023-05-31T14:58:33.060Z: Failed to parse source map: 'webpack://antd/./components/locale-provider/style/index.less' URL is not supported 2023-05-31T14:58:33.060Z: Failed to parse source map: 'webpack://antd/./components/time-picker/style/index.less' URL is not supported 2023-05-31T14:58:33.060Z: [eslint] 2023-05-31T14:58:33.060Z: src/MainLayout.jsx 2023-05-31T14:58:33.060Z: Line 24:13: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text 2023-05-31T14:58:33.060Z: Line 104:9: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text 2023-05-31T14:58:33.060Z: src/components/molecules/CoinCard/CoinCard.jsx 2023-05-31T14:58:33.060Z: Line 16:9: 'invPriceScaled' is assigned a value but never used no-unused-vars 2023-05-31T14:58:33.060Z: src/components/molecules/FlintWSCContent.jsx/FlintWSCContent.jsx 2023-05-31T14:58:33.060Z: Line 32:10: 'originBalance' is assigned a value but never used no-unused-vars 2023-05-31T14:58:33.060Z: src/context/AppProvider.jsx 2023-05-31T14:58:33.060Z: Line 35:57: 'useProvider' is defined but never used no-unused-vars 2023-05-31T14:58:33.060Z: Line 66:6: React Hook useEffect has a missing dependency: 'setUpAccountSpecificValues'. Either include it or remove the dependency array react-hooks/exhaustive-deps 2023-05-31T14:58:33.060Z: src/routes/protocol.jsx 2023-05-31T14:58:33.060Z: Line 41:15: Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations react/jsx-no-target-blank 2023-05-31T14:58:33.060Z: Line 45:15: Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations react/jsx-no-target-blank 2023-05-31T14:58:33.060Z: Line 49:15: Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations react/jsx-no-target-blank 2023-05-31T14:58:33.060Z: Line 56:15: Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations react/jsx-no-target-blank 2023-05-31T14:58:33.060Z: src/utils/ethereum.js 2023-05-31T14:58:33.060Z: Line 584:24: Expected '===' and instead saw '==' eqeqeq 2023-05-31T14:58:33.060Z: Search for the keywords to learn more about each warning. 2023-05-31T14:58:33.060Z: To ignore, add // eslint-disable-next-line to the line before. 2023-05-31T14:58:33.060Z: File sizes after gzip: 2023-05-31T14:58:33.313Z: 1.1 MB build/static/js/main.f26cfae5.js 2023-05-31T14:58:33.313Z: 180.12 kB build/static/js/969.8729cc31.chunk.js 2023-05-31T14:58:33.313Z: 69.43 kB build/static/css/main.e447c817.css 2023-05-31T14:58:33.313Z: 27.17 kB build/static/js/161.93502030.chunk.js 2023-05-31T14:58:33.313Z: 7.08 kB build/static/js/936.60290404.chunk.js 2023-05-31T14:58:33.313Z: 113 B build/static/js/856.97f32dc6.chunk.js 2023-05-31T14:58:33.313Z: The bundle size is significantly larger than recommended. 2023-05-31T14:58:33.313Z: Consider reducing it with code splitting: https://goo.gl/9VhYWB 2023-05-31T14:58:33.313Z: You can also analyze the project dependencies: https://goo.gl/LeUzfb 2023-05-31T14:58:33.313Z: The project was built assuming it is hosted at /. 2023-05-31T14:58:33.313Z: You can control this with the homepage field in your package.json. 2023-05-31T14:58:33.313Z: The build folder is ready to be deployed. 2023-05-31T14:58:33.313Z: You may serve it with a static server: 2023-05-31T14:58:33.313Z: npm install -g serve 2023-05-31T14:58:33.313Z: serve -s build 2023-05-31T14:58:33.313Z: Find out more about deployment here: 2023-05-31T14:58:33.314Z: https://cra.link/deployment 2023-05-31T14:58:34.607Z: Deployed to IPFS and got the hash: 2023-05-31T14:58:34.607Z: QmavuEGuzxoHpYWgZFpQ8eh8MAGhH7kK3TrGPwG59PRtN9 2023-05-31T14:58:34.607Z: Checking content availability on IPFS... 2023-05-31T14:58:37.449Z: Updating DNS records... 2023-05-31T14:58:37.953Z: DNS was updated. You can visit the new site at: 2023-05-31T14:58:37.953Z: https://milkomeda-c1-testnet.on.fleek.co

Warnings when built with node-16:

Deploy started at 2023-05-31T13:12:34.824Z

2023-05-31T13:12:35.948Z: Deploy started 2023-05-31T13:12:37.538Z: Docker image: 'fleek/create-react-app:node-16' 2023-05-31T13:12:37.538Z: Build command: 'npm install && npm run build:milkomeda-c1' 2023-05-31T13:12:37.538Z: Triggering build execution... 2023-05-31T13:13:30.764Z: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-05-31T13:13:30.979Z: npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-05-31T13:13:31.133Z: npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 2023-05-31T13:13:31.140Z: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 2023-05-31T13:13:31.215Z: npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies 2023-05-31T13:13:31.363Z: npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies 2023-05-31T13:13:32.449Z: npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated 2023-05-31T13:13:32.452Z: npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated 2023-05-31T13:13:32.690Z: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated 2023-05-31T13:13:33.371Z: npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added 2023-05-31T13:13:33.384Z: npm WARN deprecated safe-event-emitter@1.0.1: Renamed to @metamask/safe-event-emitter 2023-05-31T13:13:33.538Z: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated 2023-05-31T13:13:33.861Z: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 2023-05-31T13:13:34.044Z: npm WARN deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel. 2023-05-31T13:13:34.388Z: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2023-05-31T13:13:34.525Z: npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 2023-05-31T13:13:35.972Z: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 2023-05-31T13:13:37.433Z: npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. 2023-05-31T13:13:38.391Z: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 2023-05-31T13:13:39.668Z: npm WARN deprecated multibase@0.6.1: This module has been superseded by the multiformats module 2023-05-31T13:13:39.671Z: npm WARN deprecated multibase@0.7.0: This module has been superseded by the multiformats module 2023-05-31T13:13:39.775Z: npm WARN deprecated multicodec@0.5.7: This module has been superseded by the multiformats module 2023-05-31T13:13:41.206Z: npm WARN deprecated har-validator@5.1.5: this library is no longer supported 2023-05-31T13:13:41.639Z: npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash. 2023-05-31T13:13:46.270Z: npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module 2023-05-31T13:13:46.341Z: npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. 2023-05-31T13:13:49.327Z: npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained 2023-05-31T13:13:49.367Z: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained 2023-05-31T13:13:49.983Z: npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address' 2023-05-31T13:13:50.637Z: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained 2023-05-31T13:13:50.910Z: npm WARN deprecated @json-rpc-tools/provider@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T13:13:51.122Z: npm WARN deprecated @json-rpc-tools/utils@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T13:13:51.144Z: npm WARN deprecated @json-rpc-tools/types@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 2023-05-31T13:13:51.662Z: npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi' 2023-05-31T13:13:52.284Z: npm WARN deprecated cids@0.7.5: This module has been superseded by the multiformats module 2023-05-31T13:13:55.274Z: npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. 2023-05-31T13:14:00.518Z: added 2531 packages, and audited 2532 packages in 46s 2023-05-31T13:14:00.518Z: 247 packages are looking for funding 2023-05-31T13:14:00.518Z: run npm fund for details 2023-05-31T13:14:00.560Z: 41 vulnerabilities (1 low, 8 moderate, 23 high, 9 critical) 2023-05-31T13:14:00.560Z: To address issues that do not require attention, run: 2023-05-31T13:14:00.560Z: npm audit fix 2023-05-31T13:14:00.560Z: To address all issues (including breaking changes), run: 2023-05-31T13:14:00.560Z: npm audit fix --force 2023-05-31T13:14:00.560Z: Run npm audit for details. 2023-05-31T13:14:00.560Z: npm notice 2023-05-31T13:14:00.560Z: npm notice New major version of npm available! 7.18.1 -> 9.6.7 2023-05-31T13:14:00.560Z: npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.7 2023-05-31T13:14:00.560Z: npm notice Run npm install -g npm@9.6.7 to update! 2023-05-31T13:14:00.560Z: npm notice 2023-05-31T13:14:00.819Z: > spark-stablecoin-web@0.1.0 build:milkomeda-c1 2023-05-31T13:14:00.819Z: > npx -y env-cmd -f ./env/milkomeda-c1.env npm run build 2023-05-31T13:14:03.007Z: > spark-stablecoin-web@0.1.0 build 2023-05-31T13:14:03.007Z: > react-scripts build 2023-05-31T13:14:04.216Z: Creating an optimized production build... 2023-05-31T13:14:04.654Z: Browserslist: caniuse-lite is outdated. Please run: 2023-05-31T13:14:04.654Z: npx browserslist@latest --update-db 2023-05-31T13:14:04.654Z: Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating 2023-05-31T13:15:43.183Z: Compiled successfully. 2023-05-31T13:15:43.184Z: File sizes after gzip: 2023-05-31T13:15:43.430Z: 902.56 KB build/static/js/2.b8be4313.chunk.js 2023-05-31T13:15:43.430Z: 173.82 KB build/static/js/main.06de0158.chunk.js 2023-05-31T13:15:43.430Z: 65.23 KB build/static/css/2.2c41347c.chunk.css 2023-05-31T13:15:43.430Z: 3.38 KB build/static/css/main.ede22da2.chunk.css 2023-05-31T13:15:43.430Z: 781 B build/static/js/runtime-main.c683b988.js 2023-05-31T13:15:43.430Z: The project was built assuming it is hosted at /. 2023-05-31T13:15:43.430Z: You can control this with the homepage field in your package.json. 2023-05-31T13:15:43.430Z: The build folder is ready to be deployed. 2023-05-31T13:15:43.430Z: You may serve it with a static server: 2023-05-31T13:15:43.430Z: npm install -g serve 2023-05-31T13:15:43.430Z: serve -s build 2023-05-31T13:15:43.430Z: Find out more about deployment here: 2023-05-31T13:15:43.431Z: https://cra.link/deployment 2023-05-31T13:15:44.792Z: Deployed to IPFS and got the hash: 2023-05-31T13:15:44.792Z: QmP49QUc3sPsJZPMU7rjtvN7xhqwaD1zFE6B7EXcBr1ksh 2023-05-31T13:15:44.792Z: Checking content availability on IPFS... 2023-05-31T13:15:46.526Z: Updating DNS records... 2023-05-31T13:15:47.053Z: DNS was updated. You can visit the new site at: 2023-05-31T13:15:47.053Z: https://winter-queen-1449.on.fleek.co

DheerajShrivastav commented 1 year ago

I think this issue has been solved for node version 16. because I haven't got any warning after running the npm run build:milkomeda-c1 command. note: I used the node version 16 here is the screenshot of the result. image

ceilican commented 11 months ago

Could you try with node version 18, @DheerajShrivastav ?

DheerajShrivastav commented 10 months ago

Hello @ceilican,

I attempted to run thenpm run build:milkomeda-c1 command on Node version 18, but encountered an error. Here's the error message:

`$ npm run build:milkomeda-c1

> spark-stablecoin-web@0.1.0 build:milkomeda-c1
> npx -y env-cmd -f ./env/milkomeda-c1.env npm run build

> spark-stablecoin-web@0.1.0 build
> craco build

Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve 'http' in '/workspaces/Djed-Solidity-WebDashboard/node_modules/micro-ftch'
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: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }`

I attempted to address this issue by adding the suggested fallback as mentioned in the error message. However, the error persists despite this attempted solution. for reference here is the webpack.config.js file ``` module.exports = { resolve: { fallback: { "http": false, } }, };

ceilican commented 10 months ago

@paulclindo , would you be able to help @DheerajShrivastav ?

ceilican commented 10 months ago

On Fleek, building and deploying with Node 18 is working fine. Here is the log:

Deploy started at 11:28:44 AM 12/20/2023

11:28:45 AM 12/20/2023: Deploy started 11:28:47 AM 12/20/2023: Docker image: 'fleek/create-react-app:node-18' 11:28:47 AM 12/20/2023: Build command: ' npm install && npm run build:milkomeda-c1' 11:28:47 AM 12/20/2023: Triggering build execution... 11:29:39 AM 12/20/2023: npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. 11:29:39 AM 12/20/2023: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 11:29:39 AM 12/20/2023: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 11:29:39 AM 12/20/2023: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 11:29:39 AM 12/20/2023: npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 11:29:40 AM 12/20/2023: npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 11:29:41 AM 12/20/2023: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 11:29:41 AM 12/20/2023: npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. 11:29:43 AM 12/20/2023: npm WARN deprecated har-validator@5.1.5: this library is no longer supported 11:29:43 AM 12/20/2023: npm WARN deprecated multibase@0.6.1: This module has been superseded by the multiformats module 11:29:43 AM 12/20/2023: npm WARN deprecated multicodec@0.5.7: This module has been superseded by the multiformats module 11:29:44 AM 12/20/2023: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 11:29:44 AM 12/20/2023: npm WARN deprecated eip1193-provider@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:29:45 AM 12/20/2023: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 11:29:46 AM 12/20/2023: npm WARN deprecated @walletconnect/client@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 11:29:48 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/provider@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:29:48 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/utils@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:29:48 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/types@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:29:51 AM 12/20/2023: npm WARN deprecated multibase@0.7.0: This module has been superseded by the multiformats module 11:29:51 AM 12/20/2023: npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module 11:29:52 AM 12/20/2023: npm WARN deprecated cids@0.7.5: This module has been superseded by the multiformats module 11:30:14 AM 12/20/2023: added 2121 packages, and audited 2122 packages in 42s 11:30:14 AM 12/20/2023: 311 packages are looking for funding 11:30:14 AM 12/20/2023: run npm fund for details 11:30:14 AM 12/20/2023: 28 vulnerabilities (1 low, 20 moderate, 6 high, 1 critical) 11:30:14 AM 12/20/2023: To address issues that do not require attention, run: 11:30:14 AM 12/20/2023: npm audit fix 11:30:14 AM 12/20/2023: To address all issues possible (including breaking changes), run: 11:30:14 AM 12/20/2023: npm audit fix --force 11:30:14 AM 12/20/2023: Some issues need review, and may require choosing 11:30:14 AM 12/20/2023: a different dependency. 11:30:14 AM 12/20/2023: Run npm audit for details. 11:30:14 AM 12/20/2023: npm notice 11:30:14 AM 12/20/2023: npm notice New major version of npm available! 8.19.3 -> 10.2.5 11:30:14 AM 12/20/2023: npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5 11:30:14 AM 12/20/2023: npm notice Run npm install -g npm@10.2.5 to update! 11:30:14 AM 12/20/2023: npm notice 11:30:14 AM 12/20/2023: > spark-stablecoin-web@0.1.0 build:milkomeda-c1 11:30:14 AM 12/20/2023: > npx -y env-cmd -f ./env/milkomeda-c1.env npm run build 11:30:17 AM 12/20/2023: > spark-stablecoin-web@0.1.0 build 11:30:17 AM 12/20/2023: > craco build 11:30:18 AM 12/20/2023: Creating an optimized production build... 11:30:21 AM 12/20/2023: One of your dependencies, babel-preset-react-app, is importing the 11:30:21 AM 12/20/2023: "@babel/plugin-proposal-private-property-in-object" package without 11:30:21 AM 12/20/2023: declaring it in its dependencies. This is currently working because 11:30:21 AM 12/20/2023: "@babel/plugin-proposal-private-property-in-object" is already in your 11:30:21 AM 12/20/2023: node_modules folder for unrelated reasons, but it may break at any time. 11:30:21 AM 12/20/2023: babel-preset-react-app is part of the create-react-app project, which 11:30:21 AM 12/20/2023: is not maintianed anymore. It is thus unlikely that this bug will 11:30:21 AM 12/20/2023: ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to 11:30:21 AM 12/20/2023: your devDependencies to work around this error. This will make this message 11:30:21 AM 12/20/2023: go away. 11:30:21 AM 12/20/2023: 11:32:14 AM 12/20/2023: Compiled with warnings. 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/errors.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/errors.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/events.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/events.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/storage.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/storage.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/url.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/encoding/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/encoding/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/env.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/safe-json/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/safe-json/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/constants.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/encoding.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/ethereum.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/ethereum.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/misc.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/payload.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/payload.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/session.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/session.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/url.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/validators.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/window-getters/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/window-getters/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/window-metadata/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/window-metadata/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_accounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_accounts.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_requestAccounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_requestAccounts.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_sendTransaction.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_sendTransaction.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_accounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_accounts.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_requestAccounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_requestAccounts.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_sendTransaction.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_sendTransaction.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/errors.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/errors.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/provider.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/provider.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/utils.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/AlgoPendingManager.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/AlgoPendingManager.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/GenericStargate.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/GenericStargate.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/index.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/utils.ts' 11:32:14 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/abstract-coder.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/address.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/anonymous.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/array.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/boolean.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/bytes.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/fixed-bytes.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/null.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/number.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/string.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/tuple.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/decoder.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/include.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/lib.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/chains/index.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/eips/index.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/hardforks/index.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/_version.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/abi-coder.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/addresses.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bignumber.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bignumbers.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/browser-base64.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bytes32.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/fixednumber.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/fragments.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/hashes.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/id.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/idna.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/index.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/interface.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/message.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/namehash.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/strings.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/typed-data.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/utf8.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/account.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/address.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/baseTransaction.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/bytes.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/constants.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/eip1559Transaction.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/eip2930Transaction.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/externals.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/hash.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/helpers.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/index.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/internal.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/legacyTransaction.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/object.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/signature.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/transactionFactory.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/types.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/util.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///src/hash-utils.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///src/keccak.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///src/random.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack:///src/secp256k1.ts' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/config-provider/style/index.less' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/icon/style/index.less' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/locale-provider/style/index.less' URL is not supported 11:32:14 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/time-picker/style/index.less' URL is not supported 11:32:14 AM 12/20/2023: [eslint] 11:32:14 AM 12/20/2023: src/routes/protocol.jsx 11:32:14 AM 12/20/2023: Line 5:8: 'MetamaskConnectButton' is defined but never used no-unused-vars 11:32:14 AM 12/20/2023: Search for the keywords to learn more about each warning. 11:32:14 AM 12/20/2023: To ignore, add // eslint-disable-next-line to the line before. 11:32:14 AM 12/20/2023: File sizes after gzip: 11:32:14 AM 12/20/2023: 1.25 MB build/static/js/main.d36a764a.js 11:32:14 AM 12/20/2023: 70.84 kB build/static/css/main.41f39861.css 11:32:14 AM 12/20/2023: 31.85 kB build/static/js/161.2b7b3b0e.chunk.js 11:32:14 AM 12/20/2023: 26.49 kB build/static/js/969.6794def6.chunk.js 11:32:14 AM 12/20/2023: 7.09 kB build/static/js/936.057d6325.chunk.js 11:32:14 AM 12/20/2023: The bundle size is significantly larger than recommended. 11:32:14 AM 12/20/2023: Consider reducing it with code splitting: https://goo.gl/9VhYWB 11:32:14 AM 12/20/2023: You can also analyze the project dependencies: https://goo.gl/LeUzfb 11:32:14 AM 12/20/2023: The project was built assuming it is hosted at /. 11:32:14 AM 12/20/2023: You can control this with the homepage field in your package.json. 11:32:14 AM 12/20/2023: The build folder is ready to be deployed. 11:32:14 AM 12/20/2023: You may serve it with a static server: 11:32:14 AM 12/20/2023: npm install -g serve 11:32:14 AM 12/20/2023: serve -s build 11:32:14 AM 12/20/2023: Find out more about deployment here: 11:32:14 AM 12/20/2023: https://cra.link/deployment 11:32:16 AM 12/20/2023: Deployed to IPFS and got the hash: 11:32:16 AM 12/20/2023: QmPveSHdD4VsNwGw3pAb99HS6jiBo8PLmdvx2RJugDXU61 11:32:16 AM 12/20/2023: Checking content availability on IPFS... 11:32:17 AM 12/20/2023: Updating DNS records... 11:32:18 AM 12/20/2023: DNS was updated. You can visit the new site at: 11:32:18 AM 12/20/2023: https://dark-mud-2735.on.fleek.co

ceilican commented 10 months ago

And, for comparison, here is the Fleek log when building and deploying with Node 16:

Deploy started at 11:35:11 AM 12/20/2023

11:35:11 AM 12/20/2023: Deploy started 11:35:13 AM 12/20/2023: Docker image: 'fleek/create-react-app:node-16' 11:35:13 AM 12/20/2023: Build command: 'npm install && npm run build:milkomeda-c1' 11:35:13 AM 12/20/2023: Triggering build execution... 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/expect-utils@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/schemas@29.6.0', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/types@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'pretty-format@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'algosdk@2.7.0', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '>=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'diff-sequences@29.4.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-worker@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'expect@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-diff@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'pretty-format@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-get-type@29.4.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-matcher-utils@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'pretty-format@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-message-util@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'pretty-format@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-util@29.6.1', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/console@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/schemas@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/test-result@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: '@jest/types@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-message-util@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-regex-util@28.0.2', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-util@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'jest-watcher@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE Unsupported engine { 11:35:55 AM 12/20/2023: npm WARN EBADENGINE package: 'pretty-format@28.1.3', 11:35:55 AM 12/20/2023: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' }, 11:35:55 AM 12/20/2023: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' } 11:35:55 AM 12/20/2023: npm WARN EBADENGINE } 11:36:08 AM 12/20/2023: npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. 11:36:09 AM 12/20/2023: npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 11:36:09 AM 12/20/2023: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 11:36:09 AM 12/20/2023: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 11:36:09 AM 12/20/2023: npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility 11:36:09 AM 12/20/2023: npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 11:36:12 AM 12/20/2023: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 11:36:12 AM 12/20/2023: npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. 11:36:15 AM 12/20/2023: npm WARN deprecated multibase@0.6.1: This module has been superseded by the multiformats module 11:36:15 AM 12/20/2023: npm WARN deprecated multibase@0.7.0: This module has been superseded by the multiformats module 11:36:15 AM 12/20/2023: npm WARN deprecated multicodec@0.5.7: This module has been superseded by the multiformats module 11:36:15 AM 12/20/2023: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. 11:36:16 AM 12/20/2023: npm WARN deprecated har-validator@5.1.5: this library is no longer supported 11:36:19 AM 12/20/2023: npm WARN deprecated eip1193-provider@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:36:20 AM 12/20/2023: npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module 11:36:20 AM 12/20/2023: npm WARN deprecated @walletconnect/types@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 11:36:23 AM 12/20/2023: npm WARN deprecated @walletconnect/client@1.8.0: WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/ 11:36:26 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/provider@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:36:26 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/utils@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:36:26 AM 12/20/2023: npm WARN deprecated @json-rpc-tools/types@1.7.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 11:36:27 AM 12/20/2023: npm WARN deprecated cids@0.7.5: This module has been superseded by the multiformats module 11:36:37 AM 12/20/2023: added 2121 packages, and audited 2122 packages in 43s 11:36:37 AM 12/20/2023: 311 packages are looking for funding 11:36:37 AM 12/20/2023: run npm fund for details 11:36:37 AM 12/20/2023: 28 vulnerabilities (1 low, 20 moderate, 6 high, 1 critical) 11:36:37 AM 12/20/2023: To address issues that do not require attention, run: 11:36:37 AM 12/20/2023: npm audit fix 11:36:37 AM 12/20/2023: To address all issues possible (including breaking changes), run: 11:36:37 AM 12/20/2023: npm audit fix --force 11:36:37 AM 12/20/2023: Some issues need review, and may require choosing 11:36:37 AM 12/20/2023: a different dependency. 11:36:37 AM 12/20/2023: Run npm audit for details. 11:36:37 AM 12/20/2023: npm notice 11:36:37 AM 12/20/2023: npm notice New major version of npm available! 7.18.1 -> 10.2.5 11:36:37 AM 12/20/2023: npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5 11:36:37 AM 12/20/2023: npm notice Run npm install -g npm@10.2.5 to update! 11:36:37 AM 12/20/2023: npm notice 11:36:38 AM 12/20/2023: > spark-stablecoin-web@0.1.0 build:milkomeda-c1 11:36:38 AM 12/20/2023: > npx -y env-cmd -f ./env/milkomeda-c1.env npm run build 11:36:40 AM 12/20/2023: > spark-stablecoin-web@0.1.0 build 11:36:40 AM 12/20/2023: > craco build 11:36:41 AM 12/20/2023: Creating an optimized production build... 11:36:45 AM 12/20/2023: One of your dependencies, babel-preset-react-app, is importing the 11:36:45 AM 12/20/2023: "@babel/plugin-proposal-private-property-in-object" package without 11:36:45 AM 12/20/2023: declaring it in its dependencies. This is currently working because 11:36:45 AM 12/20/2023: "@babel/plugin-proposal-private-property-in-object" is already in your 11:36:45 AM 12/20/2023: node_modules folder for unrelated reasons, but it may break at any time. 11:36:45 AM 12/20/2023: babel-preset-react-app is part of the create-react-app project, which 11:36:45 AM 12/20/2023: is not maintianed anymore. It is thus unlikely that this bug will 11:36:45 AM 12/20/2023: ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to 11:36:45 AM 12/20/2023: your devDependencies to work around this error. This will make this message 11:36:45 AM 12/20/2023: go away. 11:36:45 AM 12/20/2023: 11:38:47 AM 12/20/2023: Compiled with warnings. 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/browser.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/json.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/local.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/mobile.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/browser-utils/src/registry.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/client/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/errors.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/errors.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/events.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/events.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/storage.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/storage.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/core/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/core/src/url.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/aes.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/hmac.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/browser/sha2.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/default.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/encoding.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/error.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/length.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/constants/operations.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/env.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/pkcs7.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/types.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/helpers/validators.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/crypto/src/lib/browser.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/encoding/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/encoding/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/crypto.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/env.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/environment/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/environment/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/iso-crypto/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/jsonrpc.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/misc.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/provider.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-types/src/validator.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/constants.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/env.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/error.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/format.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/routing.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/types.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/url.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/jsonrpc-utils/src/validators.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/randombytes/src/browser/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/safe-json/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/safe-json/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/socket-transport/src/network.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/constants.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/encoding.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/encoding.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/ethereum.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/ethereum.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/misc.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/misc.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/payload.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/payload.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/session.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/session.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/url.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/url.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/utils/src/validators.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/utils/src/validators.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/window-getters/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/window-getters/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/@walletconnect/window-metadata/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/@walletconnect/window-metadata/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_accounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_accounts.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_requestAccounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_requestAccounts.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_sendTransaction.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/eth_sendTransaction.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/algorandMethods/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_accounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_accounts.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_requestAccounts.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_requestAccounts.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_sendTransaction.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/eth_sendTransaction.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/cardanoMethods/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/errors.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/errors.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/provider.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/provider.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc-provider/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc-provider/src/utils.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/Activity.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/AlgoPendingManager.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/AlgoPendingManager.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/BridgeActions.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/CardanoPendingManger.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/GenericStargate.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/GenericStargate.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaConstants.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/MilkomedaNetwork.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/PendingManager.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/WSCLibTypes.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/index.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/index.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/utils.ts' 11:38:47 AM 12/20/2023: Failed to parse source map from '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' file: Error: ENOENT: no such file or directory, open '/workspace/node_modules/milkomeda-wsc/src/wscLib.ts' 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/abstract-coder.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/address.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/anonymous.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/array.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/boolean.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/bytes.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/fixed-bytes.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/null.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/number.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/string.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/coders/tuple.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/decoder.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/include.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src.ts/ens-normalize/lib.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/chains/index.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/eips/index.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../../src/hardforks/index.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/_version.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/abi-coder.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/addresses.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bignumber.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bignumbers.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/browser-base64.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/bytes32.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/fixednumber.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/fragments.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/hashes.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/id.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/idna.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/index.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/interface.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/message.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/namehash.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/strings.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/typed-data.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src.ts/utf8.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/account.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/address.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/baseTransaction.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/bytes.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/constants.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/eip1559Transaction.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/eip2930Transaction.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/externals.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/hash.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/helpers.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/index.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/internal.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/legacyTransaction.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/object.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/signature.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/transactionFactory.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/types.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///../src/util.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///src/hash-utils.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///src/keccak.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///src/random.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack:///src/secp256k1.ts' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/config-provider/style/index.less' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/icon/style/index.less' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/locale-provider/style/index.less' URL is not supported 11:38:47 AM 12/20/2023: Failed to parse source map: 'webpack://antd/./components/time-picker/style/index.less' URL is not supported 11:38:47 AM 12/20/2023: [eslint] 11:38:47 AM 12/20/2023: src/routes/protocol.jsx 11:38:47 AM 12/20/2023: Line 5:8: 'MetamaskConnectButton' is defined but never used no-unused-vars 11:38:47 AM 12/20/2023: Search for the keywords to learn more about each warning. 11:38:47 AM 12/20/2023: To ignore, add // eslint-disable-next-line to the line before. 11:38:47 AM 12/20/2023: File sizes after gzip: 11:38:47 AM 12/20/2023: 1.25 MB build/static/js/main.d36a764a.js 11:38:47 AM 12/20/2023: 70.84 kB build/static/css/main.41f39861.css 11:38:47 AM 12/20/2023: 31.85 kB build/static/js/161.2b7b3b0e.chunk.js 11:38:47 AM 12/20/2023: 26.49 kB build/static/js/969.6794def6.chunk.js 11:38:47 AM 12/20/2023: 7.09 kB build/static/js/936.057d6325.chunk.js 11:38:47 AM 12/20/2023: The bundle size is significantly larger than recommended. 11:38:47 AM 12/20/2023: Consider reducing it with code splitting: https://goo.gl/9VhYWB 11:38:47 AM 12/20/2023: You can also analyze the project dependencies: https://goo.gl/LeUzfb 11:38:47 AM 12/20/2023: The project was built assuming it is hosted at /. 11:38:47 AM 12/20/2023: You can control this with the homepage field in your package.json. 11:38:47 AM 12/20/2023: The build folder is ready to be deployed. 11:38:47 AM 12/20/2023: You may serve it with a static server: 11:38:47 AM 12/20/2023: npm install -g serve 11:38:47 AM 12/20/2023: serve -s build 11:38:47 AM 12/20/2023: Find out more about deployment here: 11:38:47 AM 12/20/2023: https://cra.link/deployment 11:38:48 AM 12/20/2023: Deployed to IPFS and got the hash: 11:38:48 AM 12/20/2023: QmPveSHdD4VsNwGw3pAb99HS6jiBo8PLmdvx2RJugDXU61 11:38:48 AM 12/20/2023: Checking content availability on IPFS... 11:38:49 AM 12/20/2023: Updating DNS records... 11:38:50 AM 12/20/2023: DNS was updated. You can visit the new site at: 11:38:50 AM 12/20/2023: https://winter-queen-1449.on.fleek.co

DheerajShrivastav commented 10 months ago

Here's a brief overview of the steps taken and the current status:

Dependency Reinstallation:

WalletConnect Package Update:

I am eager to receive your insights and recommendations to address this issue and ensure the seamless progress of the Djed-Solidity-WebDashboard project.

Ronnieraj37 commented 7 months ago

Hey @ceilican, I tried fixing this error and this is caused by source-map-loader from react-scripts v5. The most answered solution online is to just disable them by adding GENERATE_SOURCEMAP=false in scripts. But I found one more solution i.e adding

webpackConfig.ignoreWarnings = [
        function ignoreSourcemapsloaderWarnings(warning) {
          return (
            warning.module &&
            warning.module.resource.includes("node_modules") &&
            warning.details &&
            warning.details.includes("source-map-loader")
          );
        },
      ];

in craco.config.js which checks for this specific failing warning. This will throw error in other cases.

This error is showing up because its trying to read typescript/json files which are unsupported by javascript. I tried upgrading the web3 package, this did reduce the number of warning but started giving webpack error which will require another override-config.js to work. Also I couldn't find the BN library in the latest v4 which is being used in helper.js

Do let me know if you find any other solution.

ceilican commented 7 months ago

Thanks for investigating this, @Ronnieraj37 !

I don't know any better solution. Could you submit a PR with this solution?

ceilican commented 7 months ago

@DheerajShrivastav , thank you as well. Unfortunately I have only seen your message today. GitHub notifications are hard to follow. Let's communicate in Discord.

Ronnieraj37 commented 7 months ago

I've added a PR for this @ceilican