Hi There,
I am deploying my app and the build failed with the following error.
Dec 1 04:26:47 PM ==> Cloning from https://github.com/Kelvonetics/workout-expense-tracker…
Dec 1 04:26:48 PM ==> Checking out commit 8b5e18d1120fbadd482cb5cc0baea332992aad26 in branch main
Dec 1 04:26:51 PM ==> Downloading cache…
Dec 1 04:26:59 PM ==> Transferred 2.9KB in 7s. Extraction took 0s.
Dec 1 04:27:01 PM ==> Running build command ‘npm run build’…
Dec 1 04:27:01 PM npm ERR! code ENOENT
Dec 1 04:27:01 PM npm ERR! syscall open
Dec 1 04:27:01 PM npm ERR! path /opt/render/project/src/package.json
Dec 1 04:27:01 PM npm ERR! errno -2
Dec 1 04:27:01 PM npm ERR! enoent ENOENT: no such file or directory, open ‘/opt/render/project/src/package.json’
Dec 1 04:27:01 PM npm ERR! enoent This is related to npm not being able to find a file.
Dec 1 04:27:01 PM npm ERR! enoent
Dec 1 04:27:01 PM
Dec 1 04:27:01 PM npm ERR! A complete log of this run can be found in:
Dec 1 04:27:01 PM npm ERR! /opt/render/.cache/_logs/2022-12-01T15_27_01_498Z-debug.log
Dec 1 04:27:01 PM ==> Build failed
Dec 1 04:27:01 PM ==> Generating container image from build. This may take a few minutes…
Any idea or help will be appreciated.