Can't install new project on M1 Mac
See original GitHub issueBug Report
Dependencies fail to install. Seems to hang up and die on node-sass
and/or libsass
dependencies. Looks like there’s known issues with node-sass
support for M1? The errors thrown aren’t particularly clear or seemingly helpful.
https://github.com/sass/node-sass/issues/3033
Possible Solution
Not sure yet, I’ve tried different versions of node
(14, 16, and 18) with no difference.
Steps to Reproduce
On an M1 Mac, try to run npm i
or yarn
in a newly created project via create-payload-app
, or npm init -y && npm i --legacy-peer-deps payload
in a blank directory.
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:12 (3 by maintainers)
Top Results From Across the Web
How to Install Unsupported Development Software on M1 Macs
Most tools and programs will work perfectly fine on M1 architecture, but some tools require installation that won't work. In our example, running...
Read more >Can't build to simulator on Apple Silicon
It only popped up when trying to build on my new M1 MacBook Air and Xcode 12. I've tried everything that's been reported...
Read more >Can't open old projects on MBP M1 - Adobe Support Community
When opening previous projects (made on intel mac) I get a long list of error messages and then eventually AE crashes and nothing...
Read more >Cocoapods won't work on new m1 mac Big Sur Xcode
You can tweak your project architecture or add the following at the very end of your Podfile (and run pod update again) :...
Read more >How to fix “pod install” error in React Native on Mac M1
Picture this: you've finally found the time and motivation to build the next billion-dollar app with React Native on your brand-new Macbook Pro, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great feedback from all the others who have resolved various issues with M1 compatibility!
We’re working on removing node-sass as a dependency: https://github.com/payloadcms/payload/pull/605
@DanRibbens
~Has this already been released?~ I can confirm that the issue has been fixed with the latest release (0.18.0)