reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.95k stars 1.42k forks source link

[bug] Getting unknow terminal warnings and the app does not compiles #3356

Closed adityabhattad2021 closed 10 hours ago

adityabhattad2021 commented 3 days ago

Link to minimal reproducible example

https://github.com/StabilityNexus/FairFund/tree/reown-update/app/web-app

Summary

I am seeing unknown errors in the terminal related to metamask module parse failed.

Here is the full build log file: build_logs.txt

Import trace for requested module:
./node_modules/@metamask/sdk/dist/browser/es/metamask-sdk.js.map
./node_modules/@metamask/sdk/dist/browser/es/ lazy ^\.\/.*$ namespace object
./node_modules/@metamask/sdk/dist/browser/es/metamask-sdk.js
./node_modules/@wagmi/connectors/dist/esm/metaMask.js
./node_modules/@wagmi/connectors/dist/esm/exports/index.js
./node_modules/@reown/appkit-adapter-wagmi/dist/esm/src/client.js
./node_modules/@reown/appkit-adapter-wagmi/dist/esm/src/index.js
./src/wagmi/config/index.ts
./src/wagmi/provider/web3-modal.tsx
AMP bind syntax ["../../../node_modules/rollup-plugin-node-globals/src/global.js","../../../node_modules/buffer-es6/base64.js","../../../node_modules/buffer-es6/ieee754.js","../../../node_modules/buffer-es6/isArray.js","../../../node_modules/buffer-es6/index.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_assert.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/utils.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/consts.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/config.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/crypto.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/webcrypto.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_assert.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/crypto.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/utils.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_md.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_u64.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/sha512.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/utils.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/modular.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/curve.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/edwards.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/hash-to-curve.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/montgomery.js","../../../../sdk-communication-layer/node_modules/@noble/curves/ed25519.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/sha256.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/hmac.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/weierstrass.js","../../../../sdk-communication-layer/node_modules/@noble/curves/_shortw_utils.js","../../../../sdk-communication-layer/node_modules/@noble/curves/secp256k1.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/hex.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/elliptic.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/hkdf.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/hash.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_polyval.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/aes.js","../../../../sdk-communication-layer/node_modules/@ecies/ciphers/dist/aes/noble.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_arx.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_poly1305.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/chacha.js","../../../../sdk-communication-layer/node_modules/@ecies/ciphers/dist/chacha/noble.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/symmetric.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/index.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/PublicKey.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/PrivateKey.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/index.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/index.js","../../../../sdk-communication-layer/dist/browser/es/metamask-sdk-communication-layer.js","../../../node_modules/@metamask/providers/dist/chunk-I6HXGZRD.mjs","../../../node_modules/@metamask/providers/dist/chunk-ZGDQ3IYD.mjs","../../../node_modules/@metamask/providers/dist/chunk-5FL6VRJJ.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-6XXPTZV6.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-R7LKI5H5.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-XUI43LEZ.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-MIW4NMY6.mjs","../../../node_modules/@metamask/utils/dist/chunk-H4YFDLB7.mjs","../../../node_modules/superstruct/dist/index.mjs","../../../node_modules/@metamask/utils/dist/chunk-74DGVJVE.mjs","../../../node_modules/@metamask/utils/dist/chunk-XYGUOY6N.mjs","../../../node_modules/process-es6/browser.js","../../../node_modules/@metamask/utils/dist/chunk-6C35XQOF.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-MPU3CVX3.mjs","../../../node_modules/fast-safe-stringify/index.js","../../../node_modules/@metamask/rpc-errors/dist/chunk-XSKO3GXZ.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-KYP27U3C.mjs","../../../node_modules/rollup-plugin-node-builtins/src/es6/events.js","../../../node_modules/@metamask/safe-event-emitter/index.js","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-5HCYV4FV.mjs","../../../node_modules/@metamask/providers/dist/chunk-ZN7WV55J.mjs","../../../node_modules/@metamask/providers/dist/chunk-55ZQ55PO.mjs","../../../node_modules/@metamask/providers/dist/chunk-X66SUIEF.mjs","../../../node_modules/@metamask/providers/node_modules/@metamask/safe-event-emitter/dist/esm/index.mjs","../../../node_modules/fast-deep-equal/index.js","../../../node_modules/@metamask/providers/dist/chunk-OGPA5Q76.mjs","../../../node_modules/readable-stream/lib/internal/streams/stream-browser.js","../../../node_modules/rollup-plugin-node-builtins/src/es6/inherits.js","../../../node_modules/rollup-plugin-node-builtins/src/es6/util.js","../../../node_modules/readable-stream/lib/internal/streams/buffer_list.js","../../../node_modules/readable-stream/lib/internal/streams/destroy.js","../../../node_modules/readable-stream/errors-browser.js","../../../node_modules/readable-stream/lib/internal/streams/state.js","../../../node_modules/inherits/inherits_browser.js","../../../node_modules/util-deprecate/browser.js","../../../node_modules/readable-stream/lib/_stream_writable.js","../../../node_modules/readable-stream/lib/_stream_duplex.js","../../../node_modules/string_decoder/lib/string_decoder.js","../../../node_modules/safe-buffer/index.js","../../../node_modules/readable-stream/lib/internal/streams/end-of-stream.js","../../../node_modules/readable-stream/lib/internal/streams/async_iterator.js","../../../node_modules/readable-stream/lib/_stream_readable.js","../../../node_modules/readable-stream/lib/internal/streams/from-browser.js","../../../node_modules/readable-stream/lib/_stream_transform.js","../../../node_modules/readable-stream/lib/internal/streams/pipeline.js","../../../node_modules/readable-stream/lib/_stream_passthrough.js","../../../node_modules/readable-stream/readable-browser.js","../../../node_modules/@metamask/json-rpc-middleware-stream/dist/chunk-446QYOBP.mjs","../../../node_modules/wrappy/wrappy.js","../../../node_modules/once/once.js","../../../node_modules/@metamask/object-multiplex/dist/Substream.js","../../../node_modules/@metamask/object-multiplex/dist/ObjectMultiplex.js","../../../node_modules/@metamask/object-multiplex/dist/index.js","../../../node_modules/is-stream/index.js","../../../node_modules/@metamask/providers/dist/chunk-URMSZO7Z.mjs","../../../node_modules/@metamask/providers/dist/chunk-UTROHXPT.mjs","../../../src/utils/logger.ts","../../../node_modules/eth-rpc-errors/dist/classes.js","../../../node_modules/eth-rpc-errors/dist/error-constants.js","../../../node_modules/eth-rpc-errors/dist/utils.js","../../../node_modules/eth-rpc-errors/dist/errors.js","../../../node_modules/eth-rpc-errors/dist/index.js","../../../src/config.ts","../../../src/storage-manager/StorageManagerWeb.ts","../../../src/storage-manager/getStorageManager.ts","../../../src/provider/SDKProvider.ts","../../../src/services/SDKProvider/ConnectionManager/handleDisconnect.ts","../../../src/services/SDKProvider/InitializationManager/initializeStateAsync.ts","../../../src/services/SDKProvider/InitializationManager/initializeState.ts","../../../src/services/SDKProvider/ChainManager/handleChainChanged.ts","../../../src/constants.ts","../../../src/types/MetaMaskSDKEvents.ts","../../../src/types/ProviderUpdateType.ts","../../../src/services/MetaMaskSDK/ConnectionManager/terminate.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connectAndSign.ts","../../../src/utils/hex.utils.ts","../../../src/services/MetaMaskSDK/ProviderManager/connectWithExtensionProvider.ts","../../../src/utils/base64.ts","../../../src/services/Ethereum.ts","../../../node_modules/@metamask/providers/dist/chunk-LF2KN6ZT.mjs","../../../node_modules/@metamask/providers/dist/chunk-F2Z5ZMH3.mjs","../../../src/services/RemoteCommunicationPostMessageStream/write.ts","../../../src/services/RemoteCommunicationPostMessageStream/extractMethod.ts","../../../src/PostMessageStream/RemoteCommunicationPostMessageStream.ts","../../../src/services/RemoteCommunicationPostMessageStream/onMessage.ts","../../../src/services/rpc-requests/RPCRequestHandler.ts","../../../src/utils/wait.ts","../../../src/provider/initializeMobileProvider.ts","../../../src/PostMessageStream/getPostMessageStream.ts","../../../src/provider/extensionConnectWithOverwrite.ts","../../../src/services/MetaMaskSDK/InitializerManager/initializeProviderAndEventListeners.ts","../../../src/services/MetaMaskSDK/InitializerManager/initEventListeners.ts","../../../src/services/Analytics.ts","../../../src/utils/extractFavicon.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupDappMetadata.ts","../../../src/provider/extensionProviderHelpers/handleUuid.ts","../../../src/provider/extensionProviderHelpers/handleBatchMethod.ts","../../../src/provider/wrapExtensionProvider.ts","../../../src/provider/extensionProviderHelpers/handleConnectSignMethod.ts","../../../src/provider/extensionProviderHelpers/handleConnectWithMethod.ts","../../../src/utils/eip6963RequestProvider.ts","../../../src/utils/get-browser-extension.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupInfuraProvider.ts","../../../node_modules/bowser/es5.js","../../../src/Platform/PlatfformManager.ts","../../../src/services/PlatfformManager/openDeeplink.ts","../../../src/services/PlatfformManager/isMetaMaskInstalled.ts","../../../src/services/PlatfformManager/getPlatformType.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupReadOnlyRPCProviders.ts","../../../node_modules/@metamask/onboarding/dist/metamask-onboarding.es.js","../../../src/services/MetaMaskInstaller/startInstaller.ts","../../../src/Platform/MetaMaskInstaller.ts","../../../src/services/MetaMaskInstaller/startDesktopOnboarding.ts","../../../src/services/MetaMaskInstaller/redirectToProperInstall.ts","../../../src/services/MetaMaskInstaller/checkInstallation.ts","../../../src/ui/InstallModal/Modal-web.ts","../../../src/ui/InstallModal/InstallModal-web.ts","../../../src/ui/InstallModal/pendingModal-web.ts","../../../src/services/RemoteConnection/ConnectionInitializer/initializeConnector.ts","../../../src/services/RemoteConnection/EventListeners/cleanupListeners.ts","../../../src/services/RemoteConnection/ConnectionManager/connectWithModalInstaller.ts","../../../src/services/RemoteConnection/ModalManager/showInstallModal.ts","../../../src/services/RemoteConnection/EventListeners/setupListeners.ts","../../../src/services/RemoteConnection/ConnectionManager/startConnection.ts","../../../src/services/RemoteConnection/ConnectionManager/connectWithDeeplink.ts","../../../src/services/RemoteConnection/RemoteConnection.ts","../../../src/services/RemoteConnection/ModalManager/showActiveModal.ts","../../../src/services/RemoteConnection/ConnectionInitializer/cleanupConnector.ts","../../../src/services/MetaMaskSDK/InitializerManager/performSDKInitialization.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupPlatformManager.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupAnalytics.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupStorage.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupExtensionPreferences.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupRemoteConnectionAndInstaller.ts","../../../src/services/MetaMaskSDK/InitializerManager/handleAutoAndExtensionConnections.ts","../../../src/sdk.ts","../../../src/services/MetaMaskSDK/InitializerManager/initializeMetaMaskSDK.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connect.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connectWith.ts","../../../src/services/MetaMaskSDK/ConnectionManager/resume.ts","../../../../sdk-install-modal-web/dist/esm-es5/index-4b8a94c9.js","../../../../sdk-install-modal-web/dist/esm-es5/loader.js","../../../../sdk-install-modal-web/dist/loader/index.js","../../../../sdk-install-modal-web/dist/esm/polyfills/dom.js","../../../../sdk-install-modal-web/dist/esm/polyfills/index.js","../../../../sdk-install-modal-web/dist/esm/polyfills/core-js.js","../../../../sdk-install-modal-web/dist/esm-es5/simple-i18n-81e97ab4.js","../../../../sdk-install-modal-web/dist/esm-es5/index-f0bfb0c3.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-install-modal.entry.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-pending-modal.entry.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-select-modal.entry.js"]='' is not supported in JSX, use 'data-amp-bind-"../../../node_modules/rollup-plugin-node-globals/src/global.js","../../../node_modules/buffer-es6/base64.js","../../../node_modules/buffer-es6/ieee754.js","../../../node_modules/buffer-es6/isArray.js","../../../node_modules/buffer-es6/index.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_assert.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/utils.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/consts.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/config.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/crypto.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/webcrypto.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_assert.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/crypto.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/utils.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_md.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/_u64.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/sha512.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/utils.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/modular.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/curve.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/edwards.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/hash-to-curve.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/montgomery.js","../../../../sdk-communication-layer/node_modules/@noble/curves/ed25519.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/sha256.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/hmac.js","../../../../sdk-communication-layer/node_modules/@noble/curves/abstract/weierstrass.js","../../../../sdk-communication-layer/node_modules/@noble/curves/_shortw_utils.js","../../../../sdk-communication-layer/node_modules/@noble/curves/secp256k1.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/hex.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/elliptic.js","../../../../sdk-communication-layer/node_modules/@noble/hashes/hkdf.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/hash.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_polyval.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/aes.js","../../../../sdk-communication-layer/node_modules/@ecies/ciphers/dist/aes/noble.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_arx.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/_poly1305.js","../../../../sdk-communication-layer/node_modules/@noble/ciphers/chacha.js","../../../../sdk-communication-layer/node_modules/@ecies/ciphers/dist/chacha/noble.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/symmetric.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/utils/index.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/PublicKey.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/PrivateKey.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/keys/index.js","../../../../sdk-communication-layer/node_modules/eciesjs/dist/index.js","../../../../sdk-communication-layer/dist/browser/es/metamask-sdk-communication-layer.js","../../../node_modules/@metamask/providers/dist/chunk-I6HXGZRD.mjs","../../../node_modules/@metamask/providers/dist/chunk-ZGDQ3IYD.mjs","../../../node_modules/@metamask/providers/dist/chunk-5FL6VRJJ.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-6XXPTZV6.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-R7LKI5H5.mjs","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-XUI43LEZ.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-MIW4NMY6.mjs","../../../node_modules/@metamask/utils/dist/chunk-H4YFDLB7.mjs","../../../node_modules/superstruct/dist/index.mjs","../../../node_modules/@metamask/utils/dist/chunk-74DGVJVE.mjs","../../../node_modules/@metamask/utils/dist/chunk-XYGUOY6N.mjs","../../../node_modules/process-es6/browser.js","../../../node_modules/@metamask/utils/dist/chunk-6C35XQOF.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-MPU3CVX3.mjs","../../../node_modules/fast-safe-stringify/index.js","../../../node_modules/@metamask/rpc-errors/dist/chunk-XSKO3GXZ.mjs","../../../node_modules/@metamask/rpc-errors/dist/chunk-KYP27U3C.mjs","../../../node_modules/rollup-plugin-node-builtins/src/es6/events.js","../../../node_modules/@metamask/safe-event-emitter/index.js","../../../node_modules/@metamask/json-rpc-engine/dist/chunk-5HCYV4FV.mjs","../../../node_modules/@metamask/providers/dist/chunk-ZN7WV55J.mjs","../../../node_modules/@metamask/providers/dist/chunk-55ZQ55PO.mjs","../../../node_modules/@metamask/providers/dist/chunk-X66SUIEF.mjs","../../../node_modules/@metamask/providers/node_modules/@metamask/safe-event-emitter/dist/esm/index.mjs","../../../node_modules/fast-deep-equal/index.js","../../../node_modules/@metamask/providers/dist/chunk-OGPA5Q76.mjs","../../../node_modules/readable-stream/lib/internal/streams/stream-browser.js","../../../node_modules/rollup-plugin-node-builtins/src/es6/inherits.js","../../../node_modules/rollup-plugin-node-builtins/src/es6/util.js","../../../node_modules/readable-stream/lib/internal/streams/buffer_list.js","../../../node_modules/readable-stream/lib/internal/streams/destroy.js","../../../node_modules/readable-stream/errors-browser.js","../../../node_modules/readable-stream/lib/internal/streams/state.js","../../../node_modules/inherits/inherits_browser.js","../../../node_modules/util-deprecate/browser.js","../../../node_modules/readable-stream/lib/_stream_writable.js","../../../node_modules/readable-stream/lib/_stream_duplex.js","../../../node_modules/string_decoder/lib/string_decoder.js","../../../node_modules/safe-buffer/index.js","../../../node_modules/readable-stream/lib/internal/streams/end-of-stream.js","../../../node_modules/readable-stream/lib/internal/streams/async_iterator.js","../../../node_modules/readable-stream/lib/_stream_readable.js","../../../node_modules/readable-stream/lib/internal/streams/from-browser.js","../../../node_modules/readable-stream/lib/_stream_transform.js","../../../node_modules/readable-stream/lib/internal/streams/pipeline.js","../../../node_modules/readable-stream/lib/_stream_passthrough.js","../../../node_modules/readable-stream/readable-browser.js","../../../node_modules/@metamask/json-rpc-middleware-stream/dist/chunk-446QYOBP.mjs","../../../node_modules/wrappy/wrappy.js","../../../node_modules/once/once.js","../../../node_modules/@metamask/object-multiplex/dist/Substream.js","../../../node_modules/@metamask/object-multiplex/dist/ObjectMultiplex.js","../../../node_modules/@metamask/object-multiplex/dist/index.js","../../../node_modules/is-stream/index.js","../../../node_modules/@metamask/providers/dist/chunk-URMSZO7Z.mjs","../../../node_modules/@metamask/providers/dist/chunk-UTROHXPT.mjs","../../../src/utils/logger.ts","../../../node_modules/eth-rpc-errors/dist/classes.js","../../../node_modules/eth-rpc-errors/dist/error-constants.js","../../../node_modules/eth-rpc-errors/dist/utils.js","../../../node_modules/eth-rpc-errors/dist/errors.js","../../../node_modules/eth-rpc-errors/dist/index.js","../../../src/config.ts","../../../src/storage-manager/StorageManagerWeb.ts","../../../src/storage-manager/getStorageManager.ts","../../../src/provider/SDKProvider.ts","../../../src/services/SDKProvider/ConnectionManager/handleDisconnect.ts","../../../src/services/SDKProvider/InitializationManager/initializeStateAsync.ts","../../../src/services/SDKProvider/InitializationManager/initializeState.ts","../../../src/services/SDKProvider/ChainManager/handleChainChanged.ts","../../../src/constants.ts","../../../src/types/MetaMaskSDKEvents.ts","../../../src/types/ProviderUpdateType.ts","../../../src/services/MetaMaskSDK/ConnectionManager/terminate.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connectAndSign.ts","../../../src/utils/hex.utils.ts","../../../src/services/MetaMaskSDK/ProviderManager/connectWithExtensionProvider.ts","../../../src/utils/base64.ts","../../../src/services/Ethereum.ts","../../../node_modules/@metamask/providers/dist/chunk-LF2KN6ZT.mjs","../../../node_modules/@metamask/providers/dist/chunk-F2Z5ZMH3.mjs","../../../src/services/RemoteCommunicationPostMessageStream/write.ts","../../../src/services/RemoteCommunicationPostMessageStream/extractMethod.ts","../../../src/PostMessageStream/RemoteCommunicationPostMessageStream.ts","../../../src/services/RemoteCommunicationPostMessageStream/onMessage.ts","../../../src/services/rpc-requests/RPCRequestHandler.ts","../../../src/utils/wait.ts","../../../src/provider/initializeMobileProvider.ts","../../../src/PostMessageStream/getPostMessageStream.ts","../../../src/provider/extensionConnectWithOverwrite.ts","../../../src/services/MetaMaskSDK/InitializerManager/initializeProviderAndEventListeners.ts","../../../src/services/MetaMaskSDK/InitializerManager/initEventListeners.ts","../../../src/services/Analytics.ts","../../../src/utils/extractFavicon.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupDappMetadata.ts","../../../src/provider/extensionProviderHelpers/handleUuid.ts","../../../src/provider/extensionProviderHelpers/handleBatchMethod.ts","../../../src/provider/wrapExtensionProvider.ts","../../../src/provider/extensionProviderHelpers/handleConnectSignMethod.ts","../../../src/provider/extensionProviderHelpers/handleConnectWithMethod.ts","../../../src/utils/eip6963RequestProvider.ts","../../../src/utils/get-browser-extension.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupInfuraProvider.ts","../../../node_modules/bowser/es5.js","../../../src/Platform/PlatfformManager.ts","../../../src/services/PlatfformManager/openDeeplink.ts","../../../src/services/PlatfformManager/isMetaMaskInstalled.ts","../../../src/services/PlatfformManager/getPlatformType.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupReadOnlyRPCProviders.ts","../../../node_modules/@metamask/onboarding/dist/metamask-onboarding.es.js","../../../src/services/MetaMaskInstaller/startInstaller.ts","../../../src/Platform/MetaMaskInstaller.ts","../../../src/services/MetaMaskInstaller/startDesktopOnboarding.ts","../../../src/services/MetaMaskInstaller/redirectToProperInstall.ts","../../../src/services/MetaMaskInstaller/checkInstallation.ts","../../../src/ui/InstallModal/Modal-web.ts","../../../src/ui/InstallModal/InstallModal-web.ts","../../../src/ui/InstallModal/pendingModal-web.ts","../../../src/services/RemoteConnection/ConnectionInitializer/initializeConnector.ts","../../../src/services/RemoteConnection/EventListeners/cleanupListeners.ts","../../../src/services/RemoteConnection/ConnectionManager/connectWithModalInstaller.ts","../../../src/services/RemoteConnection/ModalManager/showInstallModal.ts","../../../src/services/RemoteConnection/EventListeners/setupListeners.ts","../../../src/services/RemoteConnection/ConnectionManager/startConnection.ts","../../../src/services/RemoteConnection/ConnectionManager/connectWithDeeplink.ts","../../../src/services/RemoteConnection/RemoteConnection.ts","../../../src/services/RemoteConnection/ModalManager/showActiveModal.ts","../../../src/services/RemoteConnection/ConnectionInitializer/cleanupConnector.ts","../../../src/services/MetaMaskSDK/InitializerManager/performSDKInitialization.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupPlatformManager.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupAnalytics.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupStorage.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupExtensionPreferences.ts","../../../src/services/MetaMaskSDK/InitializerManager/setupRemoteConnectionAndInstaller.ts","../../../src/services/MetaMaskSDK/InitializerManager/handleAutoAndExtensionConnections.ts","../../../src/sdk.ts","../../../src/services/MetaMaskSDK/InitializerManager/initializeMetaMaskSDK.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connect.ts","../../../src/services/MetaMaskSDK/ConnectionManager/connectWith.ts","../../../src/services/MetaMaskSDK/ConnectionManager/resume.ts","../../../../sdk-install-modal-web/dist/esm-es5/index-4b8a94c9.js","../../../../sdk-install-modal-web/dist/esm-es5/loader.js","../../../../sdk-install-modal-web/dist/loader/index.js","../../../../sdk-install-modal-web/dist/esm/polyfills/dom.js","../../../../sdk-install-modal-web/dist/esm/polyfills/index.js","../../../../sdk-install-modal-web/dist/esm/polyfills/core-js.js","../../../../sdk-install-modal-web/dist/esm-es5/simple-i18n-81e97ab4.js","../../../../sdk-install-modal-web/dist/esm-es5/index-f0bfb0c3.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-install-modal.entry.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-pending-modal.entry.js","../../../../sdk-install-modal-web/dist/esm-es5/mm-select-modal.entry.js"' instead. https://nextjs.org/docs/messages/amp-bind-jsx-alt
Warning: data for page "/_error" (path "/dashboard?_rsc=1wtp7") is 4.22 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/_error" (path "/dashboard?_rsc=r3yhw") is 4.22 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/_error" (path "/dashboard?_rsc=r3yhw") is 4.22 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/_error" (path "/dashboard") is 4.22 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
 GET /dashboard 500 in 999ms

image

List of related npm package versions

"@reown/appkit": "1.5.2", "@reown/appkit-adapter-wagmi": "1.5.2", "@reown/appkit-siwe": "^1.5.2", "viem": "2.21.52", "wagmi": "2.13.2",

itxtoledo commented 3 days ago

same error here

bezata commented 3 days ago

same error for me too

rtomas commented 2 days ago

hi @adityabhattad2021, can you create a minimal reproducible example ? cc @bezata @itxtoledo maybe can send us steps to reproduce it

DioJoestarr commented 2 days ago

same error

DioJoestarr commented 2 days ago

hi @adityabhattad2021, can you create a minimal reproducible example ? cc @bezata @itxtoledo maybe can send us steps to reproduce it

This error occurs when running nextjs npm run build command

adityabhattad2021 commented 2 days ago

hi @adityabhattad2021, can you create a minimal reproducible example ? cc @bezata @itxtoledo maybe can send us steps to reproduce it

Hey @rtomas I would love to help with fixing this issue.

To reproduce the issue,

  1. Fork: https://github.com/StabilityNexus/FairFund/]
  2. cd app/web-app
  3. npm install
  4. npm run build
bezata commented 2 days ago

hi @adityabhattad2021, can you create a minimal reproducible example ? cc @bezata @itxtoledo maybe can send us steps to reproduce it

Hey @rtomas. https://github.com/bezata/bml Here you can find MRE. Error still exist.

dylanngph commented 1 day ago

Same here, pump this up

adityabhattad2021 commented 10 hours ago

This was fixed