Skip to content
Advertisement

Can not run React App after cloning it from Github

I really need your help. I would be highly appreciated.

I clone this project : https://github.com/iearn-finance/iearn-finance, and I want to have a front-end website like this: https://yearn.finance/.

But I can not run it locally. I have tried "npm install" and then "npm start", check package.json carefully but it still does not work and gave me this error:

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

Advertisement

Answer

1- are you sure path D:iearn-finance-develop is correct?? isn’t D:iearn-finance ??

2-did you : delete package-lock.json and node_modules and then npm install

3-check on your filesystem if the file exists.

try these :

npm cache clean

you should initialize package with :

npm init

then install your packages

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement