-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update package version to fix m1 chip error #5710
Conversation
Gatsby Cloud Build Reportethereum-org-website-dev 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 16m PerformanceLighthouse report
|
Hey @alantoa, thanks for reporting! @samajammin @corwintines Are you folks getting any issues with the M1? |
Ah, nevermind, I see the issue now, can review tomorrow =) |
Thank you for work! |
@alantoa I am running this on a M1 chip with this current package settings, but I havent updated to Montery yet either. Will take a closer look today as I ran into this issue initially when setting up my macbook as well though. |
@corwintines Thank you! |
Since we probably need to upgrade the
➜ ethereum-org-website git:(dev) yarn why sharp
...
=> Found "[email protected]"
info Reasons this module exists
- "gatsby-plugin-manifest" depends on it
- Hoisted from "gatsby-plugin-manifest#sharp"
- Hoisted from "gatsby-plugin-sharp#sharp"
- Hoisted from "gatsby-transformer-sharp#sharp"
- Hoisted from "gatsby#gatsby-sharp#sharp"
...
To be clear, lets try to update these first 3 packages ( |
Hi, @pettinarip, thank you for reply! |
Nice! thanks @alantoa! I would like to see if this worked fine for @corwintines as well. Lets wait his confirmation and then I'm ok to merge it 🚀 |
Hi, @corwintines, excuse me, Is there any progress in this PR? |
Curious if anyone else has encountered this issue with an M1. @samajammin have you encountered this at all. Are you running macOS Monterey? @alantoa If you have some other docs and this solution is working for you locally, feel free to just push a separate PR with the doc changes specifically and we can take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alantoa I made a cleanup on the yarn.lock
file since it had a lot of changes that were not needed (probably because you had installed/uninstalled other packages before) and I bumped the code gatsby version that has sharp
as a dependency too.
Thanks for the help! 💪🏼
@all-contributors please add @alantoa for tool |
I've put up a pull request to add @alantoa! 🎉 |
@pettinarip I'm very happy to be merged! 🚀 |
Description
Hi, maintainers, I'm a front-end developer, looking at this document to learn web3, thank you very much for your resources!
I‘m trying to update the documentation to help with the translation work, when I run
yarn
get error logs:Then I found the reason,
sharp
version must greater thanv0.30.1
when use M1 chip.Specific reason you can see lovell/sharp#3048, so I updated the package, and also upgraded the
gatsby
related packages.Related Issue
lovell/sharp#3048
#3796
My system version
System: MacOS Monterey 12.2
Chip: Apple M1 Pro
Node: v16.14.0