Cannot find module 'webpack/lib/GraphHelpers'
See original GitHub issueI’m trying to use wix-storybook-utils
inside my storybook project and im getting the following error when i try to run the storybook.
I followed the same setup as : https://github.com/wix/wix-style-react/blob/master/.storybook/webpack.config.js
Running windows 10.
Error: Cannot find module ‘webpack/lib/GraphHelpers’ at Function.Module._resolveFilename (module.js:543:15) at Function.Module._load (module.js:470:25) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at Object.<anonymous> (C:\Users\xxx\Projects\spikes\wix-storybook-utils\node_modules\stylable-webpack-plugin\src\StylableWebpackPlugin.js:5:35) at Module._compile (module.js:649:30) at Object.Module._extensions…js (module.js:660:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:501:12) at Function.Module._load (module.js:493:3) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at Object.<anonymous> (C:\Users\xxx\Projects\spikes\wix-storybook-utils\node_modules\stylable-webpack-plugin\src\index.js:1:80) at Module._compile (module.js:649:30) at Object.Module._extensions…js (module.js:660:10) at Module.load (module.js:561:32) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:22
I’ll try to find a solution, as I’ve had this error before
Thanks for the issue report. I need more info about how things are installed on your machine. yarn.lock or package.lock will be a good starting point.