4

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.

Spencer
  • 41
  • 1
  • 2
  • This appears to be the same issue that I'm experiencing, but not sure I understand their solution: https://githubmemory.com/repo/bubenshchykov/ngrok/issues/201 – Spencer Oct 31 '21 at 07:52

1 Answers1

7

If you update ngrok to the latest version, which (at the moment) is 4.1.0 and run again, it should work.