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 do I use this library in React? #15

Open
roddc opened this issue Oct 15, 2019 · 0 comments
Open

How do I use this library in React? #15

roddc opened this issue Oct 15, 2019 · 0 comments

Comments

@roddc
Copy link

roddc commented Oct 15, 2019

I installed the lib via NPM, but I got this error:Uncaught Error: Cannot find module 'createjs'

I tired "import createjs from 'createjs'" and "import 'createjs'", neither is working, I modified webpack config, and I got this error:cannot read property 'prototype' of undefined.

What should I do? I used create-react-app to create the app. I have no idea what causes the problem.

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