question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module 'webpack/lib/GraphHelpers'

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:22

github_iconTop GitHub Comments

2reactions
ChenRothcommented, Jun 12, 2018

I’ll try to find a solution, as I’ve had this error before

1reaction
barak007commented, Jun 12, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module 'webpack/lib/NamedModulesPlugin'
I updated my Angular project from Angular 2 to Angular 8 and when I update webpack 2 to webpack 5+ ,I am having...
Read more >
0 - SharePoint Stack Exchange
trying to bundle https://github.com/FaganSC/spfxModernCalendar will raise this error "Error: Cannot find module 'webpack/lib/ParserHelpers'".
Read more >
How to fix Error: cannot find module "webpack" - Educative.io
Solution · 1. Install webpack in the local app folder · 2. Link webpack to your project.
Read more >
webpack/webpack - Gitter
I have error when running test on master branch of webpack. ~/webpack > npm -v 4.0.2 ~/webpack > node -v v7.2.0 ~/webpack >...
Read more >
"npm run prod" returns : Error Cannot find module webpack.mix
"npm run prod" returns : Error Cannot find module webpack.mix ... Hello,. I try npm run prod but it's not working ! ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found