Open bstaruk opened 5 months 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.
I am running into the same issue even after applying the fix with adding the .trim(). Is there any update on this?
Hi @bnmn1895, what version of jss are you using? The fix for this issue is part of v22.1.0.
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