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

Unable to update to v3.0 #20

Open
elementalTIMING opened this issue Mar 3, 2024 · 0 comments
Open

Unable to update to v3.0 #20

elementalTIMING opened this issue Mar 3, 2024 · 0 comments

Comments

@elementalTIMING
Copy link

Hi,

I'm trying to update to v3.0 but it fails constantly. In an Angular/Typescript environment I followed your instructions and did

import { Fireworks } from 'fireworks-canvas';

This fails with 'Fireworks' can only be imported by using a default import.

So I did:

import Fireworks from 'fireworks-canvas';

But when executing it brings

TypeError: fireworks_canvas__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor

The execution starts with:

const fireworks = new Fireworks(container, options);
const stop = fireworks.start();

Please advice to make it running again.

Thank you!

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