Skip to content

marc-slingshot/create-react-app-with-react-map-gl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-react-app (react-scripts 4.0.1) and react-map-gl (6.0.3)

Using create-react-app and the latest react-map-gl does not work.

Steps to reproduce

  1. clone this repo
  2. add mapbox API token to .env.local
REACT_APP_MAPBOX_TOKEN=<your mapbox token>
  1. npm i
  2. npm run build
  3. npm i -g serve
  4. npx serve -s build
  5. open up http://localhost:5000, open up dev tools, notice errors
Uncaught ReferenceError: y is not defined
    at a915e7a2-d12d-45dc-b9bc-45bf5baa8c10:1
    at a915e7a2-d12d-45dc-b9bc-45bf5baa8c10:1
    at a915e7a2-d12d-45dc-b9bc-45bf5baa8c10:1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published