When I install the component in my node app through npm from bit it works fine until I add it to the docker image. When building the docker image it tells me the component is not published on NPM.
So then I try installing it using bit which adds it to my package.json file using a file link however then when building the docker image I get an error that it can not find the file.
npm ERR! enoent ENOENT: no such file or directory, open ‘/measure/node_modules/@bit/climateclever.server.errors-router/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
Does anybody have any experience getting bit to work in a Docker file?