Open cagcak opened 5 years ago
Some missing dependencies causes following error while building via storybook scripts:
ERROR in ./node_modules/airbnb-js-shims/target/es2015.js Module not found: Error: Can't resolve 'es6-shim' in '/home/rinse-react/node_modules/airbnb-js-shims/target' @ ./node_modules/airbnb-js-shims/target/es2015.js 3:0-19 @ ./node_modules/airbnb-js-shims/target/es5.js @ ./node_modules/airbnb-js-shims/index.js @ ./node_modules/@storybook/core/dist/server/common/polyfills.js @ multi ./node_modules/@storybook/core/dist/server/common/polyfills.js ./node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/config.js (webpack)-hot-middleware/client.js?reload=true
Adding es6-shim node package for both using by npm and yarn, resolves issue.
es6-shim
Some missing dependencies causes following error while building via storybook scripts:
Adding
es6-shim
node package for both using by npm and yarn, resolves issue.