Cannot find module '~/node_modules/babel-loader/lib/index.js' when run build!
Osama-you opened this issue · 5 comments
Osama-you commented
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
My Environment
- OS: Windows
- Browser: Chrome
- Node version: v14.15.4
- App version: v4.3.4
wellyshen commented
@Osama-you Please follow the bug template to provide your environment.
Osama-you commented
@Osama-you Please follow the bug template to provide your environment.
ok, I edited it
wellyshen commented
@Osama-you Please ensure all the node modules have been installed successfully, especially the babel-loader v8 with related @babel dependencies as v7.
Osama-you commented
@wellyshen It is installed, also I deleted node_modules and yarn.lock and reinstalled again
wellyshen commented
@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.