Reputation: 51
I am trying to set up react-boilerplate for the first time on a new M1 Max MacBook Pro and continue to get this error message after running npm run setup
:
npm ERR! code 1
npm ERR! path /Users/ssc/Documents/Development/website/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/ssc/.npm/_logs/2021-10-31T06_18_18_426Z-debug.log
I have been unable to fix this. Any help would be greatly appreciated.
Upvotes: 5
Views: 4657
Reputation: 109
If you update ngrok to the latest version, which (at the moment) is 4.1.0
and run again, it should work.
Upvotes: 10