Deploy error error - npm ERR! enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'

Hey @CCAN

This error message indicates there is no package.json at the root of the repository you are deploying. Likely it is in a sub-directory and as such you shall need to set the base directory.

1 Like