wellyshen/react-cool-starter

Cannot find module '~/node_modules/babel-loader/lib/index.js' when run build!

Osama-you opened this issue · 5 comments

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

@Osama-you Please follow the bug template to provide your environment.

@Osama-you Please follow the bug template to provide your environment.

ok, I edited it

@Osama-you Please ensure all the node modules have been installed successfully, especially the babel-loader v8 with related @babel dependencies as v7.

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


image
image

@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.