-
Notifications
You must be signed in to change notification settings - Fork 244
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
yarn + latest wallet selector + latest near-api-js == error #1366
Comments
Just to add onto this, the issue is seen only while using yarn, I have not seen it when using npm or pnpm. |
A potential fix https://t.me/neardev/53025 , the idea is to remove NAJ Somehow Node |
Hey guys, |
few more:
|
#1154 fix @peersyst/near-mobile-signer 🚀 |
If you are using @near-wallet-selector/here-wallet, the workaround could be to specifically set these resolutions or overrides to ensure compatibility with near-api-js@^4.0.0. This approach forces the usage of the newer version of near-api-js throughout your project.
For npm, you can use overrides in your package.json like this: "overrides": {
"near-api-js": "^4.0.0"
} For Yarn, you can use resolutions in your package.json like this: "resolutions": {
"near-api-js": "^4.0.0"
} Hope this help. |
Prerequisites
near-api-js
.Description
Multiple people is reporting that some of our examples have stopped working when using the latest version of
near-api-js
andwallet-selector
.Reproducible demo
https://github.com/near-examples/guest-book-examples/tree/main/frontend
Steps to reproduce
yarn install
on the frontendyarn dev
Expected behavior
A transaction saving the message should be triggered, and thus the message saved
Actual behavior
Your environment
Self-service
The text was updated successfully, but these errors were encountered: