The new decorators proposal is not supported yet
See original GitHub issueYou must pass the "legacy": true
option to @babel/plugin-proposal-decorators
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Fixing "The new decorators proposal is not supported yet ...
Module build failed: Error: [BABEL] /path/to/project/src/main.js: The new decorators proposal is not supported yet. You must pass the `"decoratorsLegacy": ...
Read more >Adding computed decorator causes a TypeError
I'm using babel 7 with @babel/plugin-proposal-decorators , transform-class-properties and @babel/plugin-transform-runtime plugins. – BugHunterUK.
Read more >Enabling decorators · MobX
Also, many compositional patterns are currently not possible with decorators, until the stage-2 proposal has been implemented by all transpilers. For this ...
Read more >Stage 3 decorators and more RegExp features! - Babel.js
We just published Babel 7.19.0! This release updates our implementation of the decorators proposal, which reached Stage 3 in March.
Read more >JavaScript metaprogramming with the 2022-03 decorators API
So far, TypeScript has not supported a newer version of the decorators ... Babel closely tracked the evolution of the decorator proposal, ...
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
change the roadhog version to 2.2.0, and try again @xjchenhao @sam-dingkang @acpplife
已经修复了,https://github.com/sorrycc/roadhog/issues/682