Skip to content

How do I use this library in React? #15

Description

@roddc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions