Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
41
rated 0 times [  47] [ 6]  / answers: 1 / hits: 6223  / 3 Years ago, wed, december 16, 2020, 12:00:00

While running npm start , I am getting error -


PS D:Reactoperations_app_tut> npm start


npm ERR! path D:Reactoperations_app_tutpackage.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'D:Reactoperations_app_tutpackage.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersIT-DIAppDataRoamingnpm-cache_logs2020-12-16T05_56_02_304Z-debug.log

While checking physical path made sure file exists -


enter


Structure Of Project For Ref -


enter


I referred few sites and again ran -npm install
But same error persisted.


More From » reactjs

 Answers
1

You are running npm start in incorrect folder.Also why there is package-lock.json outside.


move to D:Reactoperations_app_tutoperations_app_tut directory
then run npm start


[#2114] Friday, December 11, 2020, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mireyag

Total Points: 73
Total Questions: 107
Total Answers: 85

Location: Ukraine
Member since Sun, Dec 13, 2020
3 Years ago
mireyag questions
Sun, Aug 15, 21, 00:00, 3 Years ago
Tue, Sep 1, 20, 00:00, 4 Years ago
Sun, Jul 5, 20, 00:00, 4 Years ago
Tue, Jan 28, 20, 00:00, 4 Years ago
;