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 'fork-ts-checker-webpack-plugin'

See original GitHub issue

Bug 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:closed
  • Created 5 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
cdonohuecommented, Feb 14, 2019

Looks like this is resolved, I tried creating a new project this morning and did not get this error.

yarn add docz docz-theme-default --dev
yarn docz dev

@popuguytheparrot, try removing your yarn.lock file and reinstalling your dependencies.

3reactions
jochienabuurscommented, Feb 11, 2019

Do you use create-react-app? If so, check if you use the newest version of react-scripts by checking if the package.json lists "react-scripts": "2.1.4"

If you’re not using create-react-app, try updating webpack to the newest version

Read more comments on GitHub >

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

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