Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing library depended to storybook polyfills #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cagcak
Copy link

@cagcak cagcak commented Oct 16, 2019

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
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant