Comments (8)
Hey @CuriouslyCory thanks for bringing this to our attention, we'll take a look at your example see what the issue is. We don't have many angular users so but this will benefit those who do use it 👍
from web3-onboard.
I think you can try
// @ts-nocheck – ignore <package-name>
On top of your files before importing
Seems to be a conflict with typescript config that might come from wagmi or web3modal.
https://wagmi.sh/core/typescript
from web3-onboard.
Looks like @ts-nocheck is one of those hyperlocal things. I messed around with it a few different ways but the skipLibCheck is still my main workaround for now.
Thanks again.
from web3-onboard.
Thank you!
I just tried installing with yarn and got the same results.
I'm not super experienced with projects like this, but it looks like there are a number of deps missing from package.json files, or miscatagorized as devDependencies when they should be runtime deps.
e.g. common/package.json has eventemitter3, and eip-721 as dev deps, but they appear to be included in runtime files.
from web3-onboard.
Hey could you try adding "skipLibCheck": true
in the ts.config file?
from web3-onboard.
@glitch-txs Yes, that does stop the errors!
I'm not sure I'm comfortable leaving it on for my entire project, but it is a viable workaround for the time being and I'll look deeper into what the skipLibCheck is doing and if there's any way to apply it to specific dependencies.
Thank you!
from web3-onboard.
Facing the same issues with Angular 16. Changed the import path from packages
to @walletconnect
to solve the first two errors.
I also installed eip-712
, @web3-onboard/gas
, @web3-onboard/unstoppable-resolution
and @web3-onboard/transaction-preview
(added to dependencies in package.json) to solve the other errors.
The last two errors are from @web3modal
which I haven't integrated.
Manually editing packages is not the best solution, but still better than "skipLibCheck": true
.
from web3-onboard.
Issue is fixed on @web3-onboard/[email protected]
from web3-onboard.
Related Issues (20)
- Update Onboard Ledger Connect Kit deps HOT 2
- Import error in Angular with @web3-onboard/walletconnect
- [Feature]:
- Coinbase Connect issue with blacklisting Dapp HOT 1
- [Bug] MetaMaskSDK `extensionOnly: true` breaks the connecting to MetaMask HOT 1
- yarn add @web3-onboard/core @web3-onboard/injected-wallets ethers HOT 2
- [Feature]: Enable Dependabot Security Updates
- await connect() returns before it's connected HOT 4
- [Feature]: Update outdated and vulnerable crypto-es module HOT 2
- [Feature]: Update web3auth connector to latest version of their SDK
- [Feature]: Add Ripio Portal support HOT 1
- font-size overwriting HOT 3
- walletconnect is not working since the new update HOT 4
- autoConnectLastWallet causes blank account modal HOT 2
- @web3-onboard/walletconnect above 2.4.6 doesn't work HOT 1
- Bitcoin
- SvelteKit+Vite preview error - [ERR_UNSUPPORTED_DIR_IMPORT] ... node_modules/rxjs/operators' is not supported resolving ES modules imported HOT 1
- Sveltekit example does not work with vercel HOT 3
- How can I bypass account selection when refresh page?
- Merge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3-onboard.