Home > Enterprise >  cannot setup react-boilerplate on mac M1
cannot setup react-boilerplate on mac M1

Time:03-10

when I clone the repository and run this command "npm run start", this error occurs

npm ERR! code 1
npm ERR! path /Users/hf/Downloads/leadbook-test/node_modules/ngrok
npm ERR! command failed
npm ERR! command sh -c node ./postinstall.js
npm ERR! ngrok - platform darwinarm64 is not supported.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/hf/.npm/_logs/2022-03-09T19_45_14_908Z-debug-0.log

CodePudding user response:

Try

npm cache clean --force

After that delete node_modules and package-lock.json

npm install or yarn

npm start or yarn start

Hope this will fix your issue.

  • Related