question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot set property 'jsx' of undefined

See original GitHub issue

Bug Report

Today i run npm install, and npm run doc(alias of docz dev, docz was installed in the project dir), caght error below:

image

acorn$$1.plugins is undefined.

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kikorbcommented, Oct 11, 2018

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.

1reaction
nnececcommented, Oct 9, 2018

I still have this problem.

I have remove node_modules and yarn.lock, and try yarn install again. It works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot set property of undefined TypeScript/React
Try making some form of check to see if there is an object at specific index eg: private handleInputChange = (index: number) =>...
Read more >
Cannot set property 'props' of undefined in React.js | bobbyhadz
The "cannot set property 'props' of undefined" error occurs when we add an extra set of parenthesis when declaring a class component in...
Read more >
Uncaught TypeError: Cannot set property
In JavaScript if a variable has been declared, but has not been assigned a value, is automatically assigned the value undefined . Therefore,...
Read more >
How to Read React Errors (fix 'Cannot read property of ...
This error usually means you're trying to use .map on an array, but that array isn't defined yet. That's often because the array...
Read more >
Uncaught TypeError: Cannot set property 'props' of undefined ...
const ParentComponent = () => { const tab1 = React.createElement( ChildComponent, {'name': 'Tab1 1 1 1 1 '} ); const tab2 = React....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found