blockchain-carbon-accounting icon indicating copy to clipboard operation
blockchain-carbon-accounting copied to clipboard

Python is not set error in startApi.sh script

Open sichen1234 opened this issue 4 years ago • 2 comments

When starting the express API server as a docker container, we're getting this error: Screen Shot 2021-01-27 at 11 03 30 AM

It can be fixed by going to $ cd typescript_app $ npm install

But it will reappear if you remove your node_modules directory.

It seems the Dockerfile for the docker container is not correctly installing all the dependencies.

sichen1234 avatar Jan 27 '21 19:01 sichen1234

@udosson This works OK for now if you $ npm install first from the typescript_app directory. Could you show me how to fix the docker container so it has the right dependencies?

sichen1234 avatar Jan 27 '21 19:01 sichen1234

Does this issue still exist?

udosson avatar May 27 '21 06:05 udosson