While creating first react app using command "create-react-app myfirstapp", I got the following errors:
D:\ReactProject>create-react-app myfirstapp
Creating a new React app in D:\ReactProject\myfirstapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\intex\AppData\Roaming\npm-cache\_logs\2021-02-19T07_57_36_091Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting myfirstapp/ from D:\ReactProject
Installed ReactJS version is:
D:\ReactProject>create-react-app --version
4.0.2
Installed Node version is:
D:\ReactProject>node -v
v14.15.5
Note: This is first time I am creating ReactJS app on Windows machine, so installed NodeJS first time on this machine and tried to create the react app and got the above errors.
Please let me know your suggestions on fixing these errors.
