You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmmm, good catch... Yeah, this is because we're doing a relative reference for the dependency... I'll try to verify on my machine what the behavior is - can you confirm what OS you are using, version of npm, and if you are using a node manager (like nvm)?
I think that one should work when globally installed - I just hackily bundled the Excalidraw JS into mine. I also added optional PDF export, some font workarounds and made the JSDom code way simpler.
Unfortunately you can't fully bundle it into a 0-dependency single JS file because JSDom's canvas is implemented using Cairo.
Unfortunately if you try this via
npm install --global
it doesn't work because this fails:I'm not sure the best solution to that to be honest.
The text was updated successfully, but these errors were encountered: