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.

Entry module not found: Error: [CaseSensitivePathsPlugin]

See original GitHub issue

Hi folks,

I’m getting a compilation error after following the tutorial and running npm start inside my-app.

Html Webpack Plugin:
  Error: Child compilation failed:
  Entry module not found: Error: [CaseSensitivePathsPlugin] `C:\users\myuser\pr  ojects\create-react-app\my-app\index.html` does not match the corresponding pa  th on disk `Projects`.:
  Error: [CaseSensitivePathsPlugin] `C:\users\myuser\projects\create-react-app\  my-app\index.html` does not match the corresponding path on disk `Projects`.

There’s some really suspicious whitespace in the middle of the path, not sure if relevant.

Environment: Windows 10 Node version 6.4.0 npm version 3.10.7 project path, C:/Users/myuser/Projects/create-react-app/my-app (The Projects directory has a capital P which could be relevant)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:59 (35 by maintainers)

github_iconTop GitHub Comments

3reactions
richkeenancommented, Aug 22, 2016

Ooohhh! I found why it was inconsistent 😄

I’m using git Bash, if I

cd /c/users/myuser/Projects/create-react-app/my-app
npm start

It works.

If I

cd /c/users/myuser/projects/create-react-app/my-app
npm start

It doesn’t work!

2reactions
gaearoncommented, Aug 23, 2016

Thanks to you both for cooperation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: [CaseSensitivePathsPlugin] `...\react.js ...
I come across the same problem. I replaced : import React, {Component} from 'React' , with : import React, {Component} from 'react' ....
Read more >
case-sensitive-paths-webpack-plugin - npm.io
This plugin fixes that. Example output: ERROR in ./src/containers/SearchProducts.js Module not found: Error: CaseSensitivePathsPlugin ...
Read more >
Module not found Error CaseSensitivePathsPlugin does not ...
this error " Module not found Error CaseSensitivePathsPlugin does not match the corresponding path on disk VueJs"I had a similar issue when I ......
Read more >
How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Basically, just change 'react-scripts' to 4.0.2 in your package.json and run `npm install` again :D Follow me on Twitter: ...
Read more >
Module not found: Error: Can't resolve ' Vuejs - Laracasts
Module not found : Error: Can't resolve ' Vuejs. Hi... In the router section, we want to route the pages through Nested Routes,...
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