Describe the bug
I tried creating a new app using create-react-app, which in turn installed react-scripts 4.0.3, which in turn installed webpack 4.44.2. But while navigating to github repo of react-scripts, I found it uses webpack 5.41.1 link. Basically, it is not installing the latest version of nested dependencies.
Environment
current version of create-react-app: 4.0.3
running from C:\Users\223015921\AppData\Roaming\npm-cache_npx\20060\node_modules\create-react-app
System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Binaries:
Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 93.0.4577.63
Edge: Spartan (44.18362.1533.0)
Internet Explorer: 11.0.18362.1
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: 4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Open
cmd terminal.
- Create new react app using
npx create-react-app <app-name>.
- Check for
webpack version installed.
Expected behavior
It should have installed the mentioned version of nested dependencies.
Actual behavior
Installing different version of nested dependencies rather than mentioned version.
Describe the bug
I tried creating a new app using
create-react-app, which in turn installedreact-scripts 4.0.3, which in turn installedwebpack 4.44.2. But while navigating to github repo ofreact-scripts, I found it useswebpack 5.41.1link. Basically, it is not installing the latest version of nested dependencies.Environment
current version of create-react-app: 4.0.3
running from C:\Users\223015921\AppData\Roaming\npm-cache_npx\20060\node_modules\create-react-app
System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Binaries:
Node: 14.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 93.0.4577.63
Edge: Spartan (44.18362.1533.0)
Internet Explorer: 11.0.18362.1
npmPackages:
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2
react-scripts: 4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
cmdterminal.npx create-react-app <app-name>.webpackversion installed.Expected behavior
It should have installed the mentioned version of nested dependencies.
Actual behavior
Installing different version of nested dependencies rather than mentioned version.