Comments (7)
Had the same issue and the problem were mulitple Webpack Versions (4.x and 5x). You should check that via yarn why webpack
and should just use one version (probably 4.44.2) or so
from addon-designs.
If you face this error, please make sure you don't include multiple webpack versions in your project.
FYI, I published [email protected]
that drops the PDF preview feature.
from addon-designs.
It's hard to diagnose errors related to the worker script (react-pdf/dist/pdf.worker.entry.js
)...
An error with the same message has reported on html-webpack-plugin
and that might help you. If your lockfile has multiple webpack versions, it might be the root cause.
I'll release [email protected]
, which drops react-pdf
from our dependencies, until the end of this year (Sorry, I'm a bit busy now...)
from addon-designs.
Hi, I just tried installing the addon and following the setup for the new storybook (6+) syntax. Everything seems to build fine but I do not see a design tab in my stories. Tried added params globally and to specific stories and did the same with the decorator.
I have no log either of any sort of error which is not helpful. @pocka how could I setup the repo and try to debug on my side?
from addon-designs.
@kiily
This issue is for a webpack config bug (probably) caused by the combination of multiple webpack installations and worker-loader. (I edited the title)
I believe this could help: #43
from addon-designs.
Strange, for me what fixed it was reverting to the old syntax in main.js
. Passing the following string 'storybook-addon-designs/register'
immediately resulted in a working story
from addon-designs.
I also have this problem,but it is happen when I use VueLoaderPlugin,but it is necessary for me to use VueLoaderPlugin in my project;
plugins: [
new VueLoaderPlugin(),
]
Does anyone have this problem?I would appreciate your help
from addon-designs.
Related Issues (20)
- Figma login error HOT 4
- Unable to install beta v2 after installing Storybook v7-beta63 HOT 6
- Dependency on @storybook/api or incompatibility with Storybook 6.5.16 HOT 1
- Docs and demo page is 404 HOT 8
- Support SB7 HOT 8
- Add support for type: 'markdown' HOT 1
- storybook 7. 0.12 not working with [email protected] HOT 2
- renderTarget: "tab" does not display the design tab HOT 2
- v7.0.0 is not published to npm registry
- Make it possible to use two design types simultaneously HOT 1
- Version 7.0.0 not available on npmjs HOT 1
- Warning in console after installing addon HOT 2
- Latest version(s) aren't being published HOT 1
- V7 release in npm HOT 1
- Error when trying to use figspec. HOT 1
- Addon not able to load images from local file paths HOT 1
- Add a prop like onToggle to Figma component?
- Support for storybook 7 HOT 5
- Can't use @storybook/addon-designs with NEXTjs 13 HOT 4
- Changelog & Git version tags HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-designs.