-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Uncaught TypeError: Cannot set property 'jsx' of undefined #339
Comments
Can you give a repo with minimal setup of your project to reproduce the bug? |
I still have this problem. I have remove node_modules and yarn.lock, and try |
Also got this issue. Downgrading docz to v0.11.2 worked for me. The strange thing is, I actually just used docz on another repo at the latest version |
I just had the same problem. I managed to configure Docz and use it fine but when I tried to configure jest to have my tests passing again I had to add:
to my package.json in order to have Jest working. That created this issue for docz. I assume the culprit is having babel-core in addition to @babel/core. |
Ok the issue seems to be in @babel/register somehow, I have removed the other 2 libraries and the error persist if the only change I do is add @babel/register to the project. |
Ok I solved the issue adding "acorn": "5.7.3", to my dev dependencies. @babel/register updated some dependencies and acorn was not a fixed dependency. |
Same here. i had latest version of acorn in my dev deps for my library, but had to downgrade it to get docz to work. |
Closing this issue since it hasn't had any activity in quite a few months. If you're still experiencing problems then please open up a fresh issue 👍 |
Bug Report
Today i run
npm install
, andnpm run doc
(alias ofdocz dev
, docz was installed in the project dir), caght error below:acorn$$1.plugins
is undefined.The text was updated successfully, but these errors were encountered: