Skip to content
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

Uncaught SyntaxError: import declarations may only appear at top level of a module #315

Open
StephenAtty opened this issue Dec 15, 2023 · 0 comments

Comments

@StephenAtty
Copy link

my index.html contains

<script src='https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.js'></script> <script src='https://unpkg.com/maplibre-gl-inspect@latest/dist/maplibre-gl-inspect.js'></script>

But this throws

Uncaught SyntaxError: import declarations may only appear at top level of a module on line 1 of maplibre-gl-inspect.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant