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.

ERROR: The 'decorators' plugin requires a 'decoratorsBeforeExport' option

See original GitHub issue

Got 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:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jcabrerazunigacommented, Nov 1, 2018

any ideas about how to set that decoratorsBeforeExport value in webpack.config?

1reaction
gotjoshuacommented, Sep 8, 2018

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!

Read more comments on GitHub >

github_iconTop 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 >

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