Foreman not launching Webpack on M1 Mac
I feel like I'm most of the way towards getting my project to work on an M1 Mac Mini, but right now I'm stuck where foreman won't launch webpack even though it's in the Profile.dev. I've tested the same project and it works fine on an Intel mac, but I'm not seeing any errors, it just won't launch Webpack which causes the app to give "Webpacker can't find application.css in..." for every page.
Among many other things I may or may not have done while tinkering trying to get a couple projects running on my M1, the final step that seems to have solved everything was found on StackOverflow. This really seemed to help get my Jumpstart app finally working on the M1 setup:
- Deleting the
- In my
package.json, I upgraded
- I then re-ran
- Then I ran
yarn add node-sass
After that everything was working and there were just a few warnings/errors that needed to be fixed.