node.js gives me the following warning:
npm WARN saveError ENOENT: no such file or directory, open '/usr/myapp/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/usr/myapp/package.json'
even though the package.json file is around in that directory. I didn't have problems with this before but today it just appeared out of nowhere. I deleted my node_modules folder and tried to reinstall the modules but the same warning keeps popping up. Does anyone know a quick fix to this? I'm using version 5.6.0 and my app is running in a Docker container.