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

How To Execute This HTML File #1

Open
king87515 opened this issue Dec 1, 2021 · 0 comments
Open

How To Execute This HTML File #1

king87515 opened this issue Dec 1, 2021 · 0 comments

Comments

@king87515
Copy link

I download this project to my local workspace. I execute it by "http-server". Then open index.html file in example folder, and it consoles some errors below.
Uncaught SyntaxError: Unexpected token 'export' ---weatherwheel.js:3
Uncaught (in promise) ReferenceError: WeatherWheel is not defined at (index):50 ---(index):50

I wonder whether I need to build any environment and how to fix it then can work correctly, thanks a lot.

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