IMPORTANT:
Before you can get this code to work you'll need a MapBox Access token
https://account.mapbox.com
Update the code on this line in the index.js
mapboxgl.accessToken = 'XXXX-XXXX-XXXX';
To run this code:
npm install
npm run start
Checkout the working tutorial https://mapbox-tutorial.netlify.app/