ERROR: The 'decorators' plugin requires a 'decoratorsBeforeExport' option
See original GitHub issueGot this error with node version:
⇒ node -v
v10.9.0
⇒ npm -v
6.2.0
⇒ importjs --version
3.1.0
Error Message
⇒ ./importjs.js fix ~/www/src/Components/FavoriteITem/FavoriteItem.component.js
Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean.
Current Solution
- Installed the version 3.0.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:16 (2 by maintainers)
Top Results From Across the Web
The decorators plugin requires a 'decoratorsBeforeExport ...
The decorators plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you want to use the legacy decorators semantics, you...
Read more >reactjs - React-MobX Error: The 'decorators' plugin requires a ...
React-MobX Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean · Error message says clearly ...
Read more >[Solved]-React-MobX Error: The 'decorators' plugin requires a ...
Coding example for the question React-MobX Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean-Reactjs.
Read more >babel/plugin-proposal-decorators
decoratorsBeforeExport. This option: is disallowed when using version: "legacy" or version: "2021-12" ;; is required when using version: "2018-09" ...
Read more >装饰器connect问题:Error: The 'decorators' plugin requires a ...
Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from ...
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 Free
Top 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
any ideas about how to set that decoratorsBeforeExport value in webpack.config?
quick report: merging wyuenho’s changes combined with:
ln -s import-js/node_modules/sqlite3/ sqlite3/
from my .atom/packages directory has fixed the issue for me!