React router netfly

Hi, euh
I am having issues with react router on my code. I can’t deploy on netfly. I think the problem comes from npm build. Here is the link : https://github.com/xp380/myprofil.
And the problem:
$ npm run build

3:38:56 PM: npm ERR! code ENOENT

3:38:56 PM: npm ERR! syscall open

3:38:56 PM: npm ERR! path /opt/build/repo/package.json

3:38:56 PM: npm ERR! errno -2

3:38:56 PM: npm ERR! enoent ENOENT: no such file or directory, open ‘/opt/build/repo/package.json’

3:38:56 PM: npm ERR! enoent This is related to npm not being able to find a file.

3:38:56 PM: npm ERR! enoent

3:38:56 PM: npm ERR! A complete log of this run can be found in:

3:38:56 PM: npm ERR! /opt/buildhome/.npm/_logs/2020-08-17T13_38_56_352Z-debug.log

3:38:56 PM: ​

3:38:56 PM: ┌─────────────────────────────┐

3:38:56 PM: │ “build.command” failed │

3:38:56 PM: └─────────────────────────────┘

3:38:56 PM: ​

3:38:56 PM: Error message

3:38:56 PM: Command failed with exit code 254: npm run build

3:38:56 PM: ​

3:38:56 PM: Error location

3:38:56 PM: In Build command from Netlify app:

3:38:56 PM: npm run build

3:38:56 PM: ​

3:38:56 PM: Resolved config

3:38:56 PM: build:

3:38:56 PM: command: npm run build

3:38:56 PM: commandOrigin: ui

3:38:56 PM: publish: /opt/build/repo/build

3:38:56 PM: Caching artifacts

3:38:56 PM: Started saving build plugins

3:38:56 PM: Finished saving build plugins

3:38:56 PM: Started saving pip cache

3:38:56 PM: Finished saving pip cache

3:38:56 PM: Started saving emacs cask dependencies

3:38:56 PM: Finished saving emacs cask dependencies

3:38:56 PM: Started saving maven dependencies

3:38:56 PM: Finished saving maven dependencies

3:38:56 PM: Started saving boot dependencies

3:38:56 PM: Finished saving boot dependencies

3:38:56 PM: Started saving go dependencies

3:38:56 PM: Finished saving go dependencies

3:38:59 PM: Error running command: Build script returned non-zero exit code: 1

3:38:59 PM: Failing build: Failed to build site

3:38:59 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1

3:38:59 PM: Finished processing build request in 11.238518896s

hi there, sorry to be slow to reply. looks like we couldn’t find a package.json at the location you pointed our reports towards.

Were you able to fix this issue?