Storybook: 2.0.0 Cannot use the decorators and decorators-legacy plugin together

Created on 11 Aug 2020  路  7Comments  路  Source: nuxt-community/storybook

ERROR in ./.nuxt-storybook/storybook/generated-refs.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot use the decorators and decorators-legacy plugin together

nuxt: 2.14.1
stoybook : 2.1.0

bug

Most helpful comment

babel-plugin-transform-decorators delete and install babel-plugin-proposal-decorators problem fix thank you @farnabaz

All 7 comments

Could you provide a sample reproduction project?

Looks like the decorators and decorators-legacy plugin is loaded at the same time, which should not be done. In version 1.2 everything was working.

error continues the same.
Screen Shot 2020-08-14 at 16 39 11

babel-plugin-transform-decorators delete and install babel-plugin-proposal-decorators problem fix thank you @farnabaz

@mkalayci35 can you please elaborate on how you fixed this issue?

@mkalayci35 can you please elaborate on how you fixed this issue?

I wrote above

@mkalayci35 I'm sorry, I didn't understand from what you wrote.
If you can please explain, thank you :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mariomka picture mariomka  路  7Comments

seancolsen picture seancolsen  路  4Comments

Sananes picture Sananes  路  3Comments

armorkram picture armorkram  路  3Comments

Elaniobro picture Elaniobro  路  3Comments