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 '~/node_modules/babel-loader/lib/index.js' when run build!

See original GitHub issue

Bug Report

Describe the Bug

There is an error showing during the build

How to Reproduce

I just follow the installation guide

git clone https://github.com/wellyshen/react-cool-starter.git
cd react-cool-starter
yarn
yarn build

Screenshots

image

My Environment

  • OS: Windows
  • Browser: Chrome
  • Node version: v14.15.4
  • App version: v4.3.4

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wellyshencommented, Apr 27, 2021

@Osama-you I can’t reproduce this issue on my MacOS. I think it might be an environment issue. I will try it on Windows to see if I can reproduce it or not. Let’s leave this issue open.

0reactions
Osama-youcommented, Apr 26, 2021

@wellyshen It is installed, also I deleted node_modules and yarn.lock and reinstalled again
image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

15 - Stack Overflow
Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react' · Ask Question. Asked 4 ...
Read more >
AryanJ-NYC - GitHub
Error: Cannot find module '../build/output/log' on next start. ... Module._resolveFilename (internal/modules/cjs/loader.js:957:15) ...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I need to install the react-icons package so the freeCodeCamp icon can be resolved. I'll do that by running yarn...
Read more >
How do I build a Lambda deployment package for Node.js?
I created an AWS Lambda function in Node.js, but I get a "Cannot find module" error during invocation. How do I build my...
Read more >
Solved: Cannot find module react : npm install - YouTube
start Windows PowerShell and use npm install. ... Your browser can't play this video. ... Solved: Cannot find module react : npm install....
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