-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map is not rendered #6
Comments
Hi, thanks for the report. That's strange, it's already there: Line 5 in b647333
|
You're right. It seems my parcel version (1.12.4) ignores .babelrc. There some known issues. Will investigate this. |
I upgraded to babel 7 and moved the browserslist config to the package.json file. Could you check that it works? |
Just cloned the repo again and ran "yarn install" and "yarn run dev". Works now :) Thank you! BTW: would you consider using vue-cli? https://cli.vuejs.org/ |
Perfect. About vue-cli, I prefer not using it. I don't see any benefits to learn this new thing. |
When executing "yarn dev", the map is not rendered.
Inspecting Firefox dev tools reveals the issue:
ReferenceError: _typeof is not defined ce9db94b-da1f-40bc-ba93-41623c29dfcd:5126:7
Ar blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:5126
expression blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:6930
Yn blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:6947
li blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:7232
blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:9258
blob:http://localhost:1234/ce9db94b-da1f-40bc-ba93-41623c29dfcd:15032
My Fix:
A quick fix has been by adding
to the package.json file, the error is gone.
Mapbox-gl doesn't like to be transpiled by parcel.
The text was updated successfully, but these errors were encountered: