pass.get(...) is not a function in @babel/plugin-transform-react-jsx
See original GitHub issueBug Report
Hi there 👋 So from this morning around 08:30GMT we are seeing the following error when we try to compile our code with Rollup. Here is the stack trace that we are seeing…
It looks to be able the same time you published an update to @babel/plugin-transform-react-jsx recently.
Here is the setup of Babel packages we are using.
"@babel/cli": "7.2.0",
"@babel/core": "7.2.0",
"@babel/eslint-parser": "^7.11.3",
"@babel/plugin-proposal-class-properties": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/plugin-transform-spread": "7.2.0",
"@babel/preset-env": "7.2.0",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.4",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-file-loader": "1.1.1",
"babel-plugin-inline-import-data-uri": "1.0.1",
"babel-plugin-inline-react-svg": "1.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-replace-object-assign": "^2.0.0",
Is there anything you suggest we should do instead?
Environment
- Node/npm version: 10.15.3
- OS: Windows
- Monorepo: No
- How you are using Babel: Rollup
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
babel/plugin-transform-react-jsx
Automatic runtime is a feature added in v7.9.0 . With this runtime enabled, the functions that JSX compiles to will be imported automatically....
Read more >Babel.js: Uncaught TypeError: _interopRequireDefault is not a ...
I was trying to compile server-side (think Rails or Django) generated JavaScript that may have react or such, then pass the JS to...
Read more >pass.get(...) is not a function; plugin-transform-react-jsx 7.9 ...
it seems that the variable that was refactored in b1e73d6f961065c56427ffa89c130beea8321d3b (file -> state.file) in helper-builder-react-jsx/lib/ ...
Read more >How to use the @babel/plugin-transform-react-jsx.default ...
To help you get started, we've selected a few @babel/plugin-transform-react-jsx examples, based on popular ways it is used in public projects. ; function...
Read more >@babel/plugin-transform-react-jsx-source - Package Manager
@babel/plugin-transform-react-jsx-source. owner babel18.2mMIT7.19.6 vulns 0 vulnerabilities. Add a __source prop to all JSX Elements. babel-plugin ...
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
Sure…
And babel-plugin-inline-react-svg is at “1.1.0” @nicolo-ribaudo
Hey @nicolo-ribaudo ! Yeah sure…
We believe it was coming from this file.
With this babel config…