Node Sass does not yet support your current environment
Edit on GitHubYou get the error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm64) with Node.js
.
Solution
Replace x86 based Sass with an ARM based one:
- In
package.json
, removenode-sass
dependencies. - Add
sass
andsass-loader
dependencies.
...
"sass": "~1.32.13",
"sass-loader": "~10.2.0",
...
- Update
@spryker/oryx-for-zed
:
...
"@spryker/oryx-for-zed": "~2.11.5",
...
- In
frontend/configs/development.js
, add configuration forsaas-loader
:
loader: 'sass-loader',
options: {
implementation: require('sass'),
}
- Enter the Docker SDK CLI:
docker/sdk cli
- Update
package-lock.json
and install dependencies based on your package manager:- npm:
npm install
- yarn:
yarn install
- Rebuild Yves:
npm run yves
- Rebuild Zed
npm run zed
Thank you!
For submitting the form