Open bstaruk opened 4 weeks ago
@bstaruk
Thank you for the report. We saw some issues with config formattign causing build issues on Macs. They should be fixed via https://github.com/Sitecore/jss/pull/1791 and included in the next upcoming release.
You can apply it ( extra .trim()
in scripts/generate-config) right now however, the fix is app-level only.
Describe the Bug
It is currently impossible to initialize and start a new JSS project on a Macbook with an Apple Silicon chip, using Next.js and the nextjs-styleguide boilerplate.
To Reproduce
Initialize a fresh project with the current settings. Everything was left default, except for selecting the
nextjs-styleguide
addon initializer in the last step:cd nextjs
to navigate into the project directorynpm run start
to start the projectThis results in:
Expected Behavior
Given this is a fresh installation, the app should run without erroring/crashing.
Possible Fix
No response
Provide environment information