x0
x0 copied to clipboard
New install fails with: "Uncaught TypeError: Cannot set property 'jsx' of undefined"
I installed from within a docker container, so this is most likely busted for all new installs.
I did some digging, seems like docz had a similar issue and it was fixed for most by upgrading buble. I'll do more digging tomorrow.
Uncaught TypeError: Cannot set property 'jsx' of undefined
at inject (buble-browser.es.js:639)
at eval (buble-browser.es.js:9823)
at Array.reduce (<anonymous>)
at Module.eval (buble-browser.es.js:9822)
at eval (buble-browser.es.js:9918)
at Module../usr/local/lib/node_modules/@compositor/x0/node_modules/buble/dist/buble-browser.es.js (dev.js:1267)
at __webpack_require__ (dev.js:724)
at fn (dev.js:101)
at eval (react-live.es.js:26)
at Module../usr/local/lib/node_modules/@compositor/x0/node_modules/react-live/dist/react-live.es.js (dev.js:3663)
I confirmed this: changing the required buble
version to 0.19.7
causes x0
to work.
Same issue when run with npx (npx @compositor/x0 docs --open
)
+1