plepe / ptmap

Public transport map, based on OpenStreetMap (via Overpass API)
11 stars 2 forks source link

Doesn't build #6

Closed amenk closed 4 years ago

amenk commented 4 years ago

I does not build locally ...

That is what I did so far:

npm install
npm run build
npm audit fix
npm audit fix --force
npm install
npm run build
npm run build
npm install babelify
npm run build
npm install @babel/core
npm run build
npm install @babel/preset-env
npm run build

Not it builds, but when I open the index.html I get

Uncaught ReferenceError: regeneratorRuntime is not defined
    at ptmap.js:6160
    at ptmap.js:6210
    at ptmap.js:4847
    at Object.<anonymous> (ptmap.js:4848)
    at Object.28._process (ptmap.js:10219)
    at o (ptmap.js:1)
    at ptmap.js:1
    at Object.268../Environment (ptmap.js:72214)
    at o (ptmap.js:1)
    at ptmap.js:1

If I am lucky enough to fix it, I will provide an PR :)