Cannot find module 'fork-ts-checker-webpack-plugin'
See original GitHub issueBug Report
Describe the bug
When i run command docz dev i got error Cannot find module 'fork-ts-checker-webpack-plugin'
internal/modules/cjs/loader.js:611
throw err;
^
Error: Cannot find module 'fork-ts-checker-webpack-plugin'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\dashboard-ui-kit\node_modules\react-dev-utils\WebpackDevServerUtils.js:21:36)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
at Function.Module._load (internal/modules/cjs/loader.js:558:3)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\dashboard-ui-kit\node_modules\docz-core\dist\index.js:1:2125)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
Environment
- OS: [ Windows 10]
- Node/npm version: [e.g. Node 11/npm 6.7]
- Docz 0.13.7
- “webpack”: “^4.29.3”, “webpack-cli”: “^3.2.3”
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Error: Cannot find module 'fork-ts-checker-webpack-plugin-v5 ...
Steps to reproduce. Create repo with @vue/cli@^4.5.13, (ts enabled). Use node@10.15.1 and npm@6.4.1; Exec npm run serve ...
Read more >fork-ts-checker-webpack-plugin - npm
Runs typescript type checker and linter on separate process.. Latest version: 7.2.14, last published: 10 days ago.
Read more >How to use the fork-ts-checker-webpack-plugin.ONE_CPU ...
To help you get started, we've selected a few fork-ts-checker-webpack-plugin.ONE_CPU examples, based on popular ways it is used in public projects.
Read more >ts-loader - Awesome JS
If for some reason it does not, you can use the webpack-fail-plugin. ... If you want to resolve modules according to baseUrl and...
Read more >vue3.x Cannot find module 'fork-ts-checker-webpack-plugin-v5'
vue3. x create new project, when reinstall , also error Cannot find module 'fork-ts-checker-webpack-plugin-v5', when i install fork-ts-checker- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like this is resolved, I tried creating a new project this morning and did not get this error.
@popuguytheparrot, try removing your
yarn.lock
file and reinstalling your dependencies.Do you use
create-react-app
? If so, check if you use the newest version ofreact-scripts
by checking if the package.json lists"react-scripts": "2.1.4"
If you’re not using
create-react-app
, try updatingwebpack
to the newest version