ScandiPWA 6.2.1 Apple Silicon node-sass problem (possible prev versions too)
EagleSH opened this issue · comments
Steps to reproduce:
any related commands to add modules, start dev server, upgrade scandi itself causing problem
yarn add @scandipwa/scandipwa@latest
yarn start
yarn add modulename
Actual result
[4/4] 🔨 Building fresh packages...
[-/11] ⠐ waiting...
[6/11] ⠐ sharp
[-/11] ⠐ waiting...
[4/11] ⠐ fsevents
error /node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /node_modules/node-sass
Actual result after "yarn start" command
Failed to compile.
./src/style/main.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./node_modules/sass-resources-loader/lib/loader.js??ref--5-oneOf-6-5!./src/style/main.scss)
Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Node.js 14.x
Expected result
no errors
Versions
- ScandiPWA: 6.2.1 and all prev versions
- node v14.21.3
- yarn 1.22.19
Additional context
On intel machines everything working great. Please fix asap!
Hey!
What is Node Sass version you using?
Maybe you can try to downgrade minor version of node 14 ?
Hey! What is Node Sass version you using? Maybe you can try to downgrade minor version of node 14 ?
hey, its default setup, clean scandipwa installation, anyway where i can change requested version of node-sass?
locked with yarn