cra-template-must-have-libraries
cra-template-must-have-libraries copied to clipboard
Can't install on M1
I have 2 macbooks- intel & M1
For intel one, I can install MHL without any problem For M1, I got this error
error /Users/yuenkit/Bhere/temp/your-project-name/node_modules/node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: /Users/yuenkit/Bhere/temp/your-project-name/node_modules/node-sass
Output:
Building: /Users/yuenkit/.nvm/versions/node/v18.2.0/bin/node /Users/yuenkit/Bhere/temp/your-project-name/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
...
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli '/Users/yuenkit/.nvm/versions/node/v18.2.0/bin/node',
npm ERR! gyp verb cli '/Users/yuenkit/Bhere/temp/react-d3-hello-world/node_modules/node-gyp/bin/node-gyp.js',
My laptop configuration: node = v18.2.0