x0 icon indicating copy to clipboard operation
x0 copied to clipboard

New install fails with: "Uncaught TypeError: Cannot set property 'jsx' of undefined"

Open vanpelt opened this issue 5 years ago • 3 comments

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)

vanpelt avatar Feb 27 '19 08:02 vanpelt

I confirmed this: changing the required buble version to 0.19.7 causes x0 to work.

tdeebswihart avatar Mar 15 '19 22:03 tdeebswihart

Same issue when run with npx (npx @compositor/x0 docs --open)

bouiboui avatar Apr 25 '19 13:04 bouiboui

+1

andifoerster avatar Sep 13 '19 06:09 andifoerster