i'm trying to launch a nodejs container using AWS FARGATE, the problem i'm facing is that fargate gives me this error :
cannot find this module "/path/to/file/webrtc.js"
And when i execute npm install from the command section when launching the container it gives me
npm WARN enoent ENOENT: no such file or directory, open '/usr/src/app/package.json' npm WARN saveError EACCES: permission denied, open '/usr/src/app/package-lock.json.12345678' npm WARN saveError ENOENT: no such file or directory, open '/usr/src/app/package.json'
How to give permission ? I tried changing the json file and swapping user = null with user = root, but same error appears.