_createSuper is not defined
See original GitHub issueBug Report
Current Behavior if you define two class in one js file, will error Uncaught ReferenceError: _createSuper is not defined
Input Code
- REPL or Repo link if applicable:
class A extends React.Component {
}
export default class B extends React.Component {
}
Expected behavior/code update dependencies
Environment
Possible Solution
Additional context/Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top Results From Across the Web
"db.createUser is not a function" and "password can't be empty"
In 2.6, MongoDB introduced a new model for user credentials and privileges, as described in Security Introduction. To use db.addUser() on ...
Read more >Can't create admin user: 'createUser' of object test is not a ...
I installed MongoDB via the current Debian buster package. I tried to create an admin user as in the MongoDB documentation. I typed:...
Read more >Documentation: 15: createuser - PostgreSQL
createuser is a wrapper around the SQL command CREATE ROLE . There is no effective difference between creating users via this utility and...
Read more >db.createUser() not recognized #542 - GitHub
The db.createUser() function is not recognized by RoboMongo. addUser has been depricated since version 2.6 and replaced by createUser.
Read more >db.createUser() - MongoDB shell method - w3resource
The db.createUser() method is used to creates a new user. ... Creates a new user for the database where the method runs. db.createUser()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you check what
npx nls why @babel/helpers
prints?Also, those helpers aren’t called from
babelHelpers.createSuper
probably because Babel doesn’t know which helpers it can safely use from thebabelHelpers
object (it must assume that it is ^7.0.0). You can pass the"helperVersion": "^7.9.0"
option to the plugin if you want to tell Babel that you are using an up-to-datebabelHelpers
object.@ulrichb This bug should only happen when using
@babel/core
<7.5.5, but CRA uses 7.9.0.Could you run
npx nls why @babel/core
and post the output?