Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vanpelt opened this issue Feb 27, 2019 · 3 comments

Comments

@vanpelt
Copy link

vanpelt commented Feb 27, 2019

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)
@tdeebswihart
Copy link

tdeebswihart commented Mar 15, 2019

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

@bouiboui
Copy link

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

@andifoerster
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants