-
Notifications
You must be signed in to change notification settings - Fork 7
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
TypeError: rough.canvas is not a function #3
Comments
Seeing a similar error when I try to use it with Vue. See #5 |
issue is due to webpack trying to require the esm build of roughjs.
|
@johansedgeware I have the exact same issue - did you solve this? The solution linked on #5 didn't work for me :( |
The same problem with NextJs. Is there any way to solve it? |
Hi,
I'm trying to use your library in a React environment. Can't push it up for reproduction but will try and do my best to explain what it is I am trying to do.
I got this component:
the data prop could look like this:
I've also installed all the dependencies (as far as I understood that I had to)
This is the error I'm getting
The text was updated successfully, but these errors were encountered: