excalidraw / gatsby-embedder-excalidraw Goto Github PK
View Code? Open in Web Editor NEW๐คด Custom transformer to embed Excalidraw diagrams
Home Page: https://gatsby-embedder-excalidraw.netlify.app
License: MIT License
๐คด Custom transformer to embed Excalidraw diagrams
Home Page: https://gatsby-embedder-excalidraw.netlify.app
License: MIT License
I'm not sure if I should file here or as an issue with gatsby-plugin-mdx
but after a month of not touching my site, I can't get the development bundle to build correctly and it looks like it's unhappy with the Excalidraw links.
yarn run v1.22.4
$ gatsby develop
success open and validate gatsby-configs - 0.092s
success load plugins - 4.334s
success onPreInit - 0.018s
success initialize cache - 0.022s
success copy gatsby files - 0.075s
success onPreBootstrap - 0.013s
success createSchemaCustomization - 0.005s
ERROR #11321 PLUGIN
"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:
The following error appeared while processing 'https://excalidraw.com/#json=5086916491870208,sLUFfW5oMgrO3ApQwe4YQw':
No node found for selector: [aria-label='Scale 3 x']
31 | const createAndProcessNode = path => {
32 | const fileNodePromise = createFileNode(path, createNodeId, pluginOptions).then(fileNode => {
> 33 | createNode(fileNode);
| ^
34 | return null;
35 | });
36 | return fileNodePromise;
File: node_modules/gatsby-source-filesystem/gatsby-node.js:33:7
This is on my personal site on the bug-reproduce
.
git clone --single-branch --branch bug-reproduce https://github.com/jsjoeio/joeprevite.com.git
yarn install
yarn dev
Observe output
Success - everywhere!
A bunch of errors and an unhappy development bundle
I'd love to have this one by default in the plugin. ๐
@trevorblades @j-f1 @lipis Would you mind creating a PR for this please? ๐ค
Hi,
Going through the readme explanation, when adding gatsby-embedder-excalidraw
to gatsbyRemarkPlugins
of gatsby-plugin-mdx
and running gatsby develop
, the building bundle stuck and never finishes.
Reproducible example in codesandbox:
Also, cloning the repo (installing the dependencies etc.) and running the example will result in the same issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.