You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When installing a NPM module that has path as a dependency some sort of Wepback polyfill seems to be breaking.
To Reproduce
For this example I installed path directly but what was causing my failure is having the dependency contentful-cli which resulted in the path module being installed
To reproduced install the NPM modules and run storybook with the start-storybook command. you will see an error in the browser console coming from the path NPM module ReferenceError: process is not defined
Describe the bug
When installing a NPM module that has path as a dependency some sort of Wepback polyfill seems to be breaking.
To Reproduce
For this example I installed
path
directly but what was causing my failure is having the dependency contentful-cli which resulted in thepath
module being installedTo reproduced install the NPM modules and run storybook with the
start-storybook
command. you will see an error in the browser console coming from thepath
NPM moduleReferenceError: process is not defined
System
Additional context
This error is fixed by polyfilling
process
with the DefinePlugin`The text was updated successfully, but these errors were encountered: