-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues running in Angular 16 #1794
Comments
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 👍 |
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. |
Hey could you try adding |
@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! |
I think you can try Seems to be a conflict with typescript config that might come from wagmi or web3modal. |
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. |
Facing the same issues with Angular 16. Changed the import path from I also installed The last two errors are from Manually editing packages is not the best solution, but still better than |
Issue is fixed on |
Current Behavior
Minimal install in angular 16 is resulting in fatal errors.
Here's a repo to replicate: https://github.com/CuriouslyCory/angular16-web3onboard
All I've done is to create a service app/services/wallet.service.ts
And reference it from the App component in the constructor: app/app.component.ts
I've tried 2.0, 2.1, and 2.2 versions, but all are resulting in similar or the same errors.
I've also tried npm v16 and 18.
Tested and got failures with no wallet, injected wallet, and wallet connect.
Tested on Mac OS and WSL2.
Expected Behavior
App should compile and run.
Steps To Reproduce
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Build, Runtime
Package Version
2.*
Node Version
16 & 18
What browsers are you seeing the problem on?
No response
Relevant log output
Anything else?
No response
Sanity Check
The text was updated successfully, but these errors were encountered: