Could not find a required file.
Name: index.js
Searched in: /Users/.../projects/react-stockcharts-examples2/examples/CandleStickChartWithUpdatingData/src
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-stockcharts-example2@0.0.24 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-stockcharts-example2@0.0.24 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/.../.npm/_logs/2019-12-21T04_16_36_512Z-debug.log
'npm start' fails with following error. It is looking for index.js file.
npm - 6.13.4 node - v12.10.0
Could not find a required file. Name: index.js Searched in: /Users/.../projects/react-stockcharts-examples2/examples/CandleStickChartWithUpdatingData/src npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! react-stockcharts-example2@0.0.24 start:
react-scripts start
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-stockcharts-example2@0.0.24 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/.../.npm/_logs/2019-12-21T04_16_36_512Z-debug.log