ofhouse / storybook-stencil-example

Example project which uses Stencil components in Storybook.
https://ofhouse.github.io/storybook-stencil-example
MIT License
12 stars 6 forks source link

Build Error on npm start #3

Open andresmazzo opened 3 years ago

andresmazzo commented 3 years ago

Hi, i got an error when try to start the example:

ERROR in ./.storybook/generated-entry.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'

I'm using Node: v14.5.0.

I found a workaround:

npm update --depth 5 @babel/preset-env
npm update --depth 5 @babel/compat-data

Ref.: https://github.com/JeffreyWay/laravel-mix/issues/2383#issuecomment-643265068

ofhouse commented 3 years ago

Hi, yeah a lot of the dependencies has changed since I originally published the example.

I will try to update the example to a more recent Stencil / Storybook version soon that should fix these kind of issues.