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 './full-chrome-versions'

See original GitHub issue

Description

What are you reporting? I started with egghead course: https://egghead.io/lessons/react-react-fundamentals-development-environment-setup and i failed on initial step…

it’s ‘pure’ instalation and aplication npm start/yarn start not works as it should. It shows: `Failed to compile.

Error in ./src/index.js Module build failed: Error: Cannot find module ‘./full-chrome-versions’ (While processing preset: “/www/sites/react/wwwroot/node_modules/babel-preset-env/lib/index.js”) (While processing preset: “/www/sites/react/wwwroot/node_modules/babel-preset-react-app/index.js”) @ multi main`

Expected behavior

npm start should work

Actual behavior

npm start not working

Environment

Run these commands in the project folder and fill in their results:

  1. npm ls react-scripts (if you haven’t ejected):
  2. node -v: 6.5.0
  3. npm -v: 4.4.4

Then, specify:

  1. Operating system: osx
  2. Browser and version: chrome 57

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kieferhagincommented, Mar 28, 2017

Can confirm now fixed for me (ejected) after clearing node_modules and a fresh npm i #1901

1reaction
teophiluscommented, Mar 28, 2017

Experiencing the same error with a brand new app build, however a build I made earlier this week works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
Failed to compile. Error in ./src/index.js Module build failed: Error: Cannot find module './full-chrome-versions' (While processing preset: ...
Read more >
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >
Error: Cannot find module 'express' - YouTube
Error: Cannot find module 'express'Error: Cannot find module 'cors'Error: Cannot find module 'body-parser'Error: Cannot find module ...
Read more >
require.resolve "Error: Cannot find module" but ... - Reddit
this is all I'm trying to do require.resolve("stream-browserify") but I get a module not found error even though I can see it exists...
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