ERROR Error: ENOENT: no such file or directory, open '__vite-optional-peer-dep:canvas:jsdom'
391 views
Skip to first unread message
Malted
unread,
Sep 12, 2022, 12:14:13 PM9/12/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Blockly
Hi all,
I'm getting this error when I import Blockly. ERROR Error: ENOENT: no such file or directory, open '__vite-optional-peer-dep:canvas:jsdom'
This has only recently started to happen. It's framework agnostic. I can't seem to pinpoint what the cause is. Has anyone else had this error? If so, what did you do to fix it?
Many thanks
Aaron Dodson
unread,
Sep 13, 2022, 2:30:49 PM9/13/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Blockly
Hi,
I haven't seen this, but does removing package-lock.json/rerunning npm install help by chance?