esm.sh
esm.sh copied to clipboard
Failed to import - bnc-onboard
Failing module
- GitHub: https://github.com/blocknative/onboard
- npm: https://www.npmjs.com/package/bnc-onboard
import Onboard from 'https://esm.sh/bnc-onboard'
Error message
When opening the file directly I get this:
/* esm.sh - error */
throw new Error("[esm.sh] " + "yarn add [email protected]: warning bnc-onboard \u003e @ledgerhq/[email protected]: @ledgerhq/hw-transport-u2f is deprecated. Please use @ledgerhq/hw-transport-webusb or @ledgerhq/hw-transport-webhid. https://github.com/LedgerHQ/ledgerjs/blob/master/docs/migrate_webusb.md\nwarning bnc-onboard \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e @cvbb/eth-keyring \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e eth-lattice-keyring \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e @portis/web3 \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e authereum \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/[email protected]: Please use @ensdomains/ens-contracts\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/[email protected]: Please use @ensdomains/ens-contracts\nwarning bnc-onboard \u003e authereum \u003e ethers \u003e [email protected]: 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.\nwarning bnc-onboard \u003e @shapeshiftoss/hdwallet-keepkey \u003e bnb-javascript-sdk-nobroadcast \u003e [email protected]: 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.\nwarning bnc-onboard \u003e authereum \u003e [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\nwarning bnc-onboard \u003e eth-lattice-keyring \u003e [email protected]: New package name format for new versions: @ethereumjs/common. Please update.\nwarning bnc-onboard \u003e ethereumjs-tx \u003e [email protected]: New package name format for new versions: @ethereumjs/common. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e [email protected]: Package renamed: https://www.npmjs.com/package/eth-rpc-errors\nwarning bnc-onboard \u003e authereum \u003e web3-provider-engine \u003e [email protected]: Package renamed: https://www.npmjs.com/package/eth-rpc-errors\nwarning bnc-onboard \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/block. Please update.\nwarning bnc-onboard \u003e @portis/web3 \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/block. Please update.\nwarning bnc-onboard \u003e authereum \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/block. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e ethereumjs-block \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/vm. Please update.\nwarning bnc-onboard \u003e @portis/web3 \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/vm. Please update.\nwarning bnc-onboard \u003e authereum \u003e web3-provider-engine \u003e [email protected]: New package name format for new versions: @ethereumjs/vm. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e ethereumjs-vm \u003e [email protected]: New package name format for new versions: @ethereumjs/block. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e ethereumjs-vm \u003e [email protected]: New package name format for new versions: @ethereumjs/common. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e ethereumjs-vm \u003e ethereumjs-block \u003e [email protected]: New package name format for new versions: @ethereumjs/common. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e ethereumjs-vm \u003e ethereumjs-block \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: Package renamed: https://www.npmjs.com/package/eth-rpc-errors\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: New package name format for new versions: @ethereumjs/block. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: New package name format for new versions: @ethereumjs/tx. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: New package name format for new versions: @ethereumjs/vm. Please update.\nwarning bnc-onboard \u003e web3-provider-engine \u003e [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142\nwarning bnc-onboard \u003e @portis/web3 \u003e web3-provider-engine \u003e [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142\nwarning bnc-onboard \u003e authereum \u003e web3-provider-engine \u003e [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142\nwarning bnc-onboard \u003e web3-provider-engine \u003e request \u003e [email protected]: 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.\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e content-hash \u003e [email protected]: This module has been superseded by the multiformats module\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e content-hash \u003e [email protected]: This module has been superseded by the multiformats module\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e content-hash \u003e cids \u003e [email protected]: This module has been superseded by the multiformats module\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e [email protected]: ethereumjs-testrpc has been renamed to ganache-cli, please use this package from now on.\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e [email protected]: testrpc has been renamed to ganache-cli, please use this package from now on.\nwarning bnc-onboard \u003e @portis/web3 \u003e pocket-js-core \u003e [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410\nwarning bnc-onboard \u003e @shapeshiftoss/hdwallet-keepkey \u003e bnb-javascript-sdk-nobroadcast \u003e url \u003e [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.\nwarning bnc-onboard \u003e @walletconnect/web3-provider \u003e @walletconnect/qrcode-modal \u003e @walletconnect/[email protected]: Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-block-tracker \u003e [email protected]: Renamed to @metamask/safe-event-emitter\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: Renamed to @metamask/safe-event-emitter\nwarning bnc-onboard \u003e @portis/web3 \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e [email protected]: Renamed to @metamask/safe-event-emitter\nwarning bnc-onboard \u003e web3-provider-engine \u003e eth-json-rpc-middleware \u003e json-rpc-engine \u003e [email protected]: Renamed to @metamask/safe-event-emitter\nwarning bnc-onboard \u003e web3-provider-engine \u003e request \u003e [email protected]: this library is no longer supported\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e content-hash \u003e cids \u003e [email protected]: This module has been superseded by the multiformats module\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e content-hash \u003e multihashes \u003e [email protected]: This module has been superseded by the multiformats module\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e ethereumjs-testrpc \u003e webpack \u003e watchpack \u003e watchpack-chokidar2 \u003e [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e ethereumjs-testrpc \u003e webpack \u003e watchpack \u003e watchpack-chokidar2 \u003e chokidar \u003e [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e ethereumjs-testrpc \u003e webpack \u003e watchpack \u003e watchpack-chokidar2 \u003e chokidar \u003e braces \u003e snapdragon \u003e source-map-resolve \u003e [email protected]: https://github.com/lydell/resolve-url#deprecated\nwarning bnc-onboard \u003e @ensdomains/ensjs \u003e @ensdomains/ens \u003e ethereumjs-testrpc \u003e webpack \u003e watchpack \u003e watchpack-chokidar2 \u003e chokidar \u003e braces \u003e snapdragon \u003e source-map-resolve \u003e [email protected]: Please see https://github.com/lydell/urix#deprecated\nerror Couldn't find the binary git\n");
export default null;
Looks like it requires git to be installed. Not sure which dep tho
Additional info
- esm.sh version: v47
- Deno version: 1.13.2
this can be built now, but i am not sure whether it works acctually
@ije doesn't seem to be working tho
Error: Cannot resolve module "file:///home/v1rtl/Coding/quikpik.app/.aleph/development/-/esm.sh/bnc-onboard.js" from "file:///home/v1rtl/Coding/quikpik.app/.aleph/development/pages/index.js#371c82". at file:///home/v1rtl/Coding/quikpik.app/.aleph/development/pages/index.js#371c82:3:0