I am creating reactjs application . and i have created props in reactjs as how to create props in reactjs . But when i build reactjs application i am geeting this error.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts..
npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.co
m/npm/npm/issues>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xyz\AppData\Roaming\npm-cache\_logs\2018-10-19T07_16_06_64
Aborting installation.
npm install –save –save-exact –loglevel error react react-dom react-scripts
Deleting generated file… package.json
Deleting react-complete-guide/ from D:\react-js-workspace\study\section-3
Solution :
You need to clear cache of your application using this command
run “npm cache clean -f” command In root folder.
Now build reactjs application normally . I hope it should work for you.