lucaschen / microservices-demo

425 stars 142 forks source link

It doesn't start #49

Open gabrielmedel opened 3 years ago

gabrielmedel commented 3 years ago

When i run docker-compose up, it says that the babel command is not recognized but I have installed babel globally and in the service to check and it was not also I have checked if in node_modules is @ bablel / core and if it is, if you can help me start I would appreciate the project very much

microservices-demo_users-service_1 exited with code 127 api-gateway_1 | yarn run v1.22.5 api-gateway_1 | $ babel-watch -L src/index.js api-gateway_1 | /bin/sh: 1: babel-watch: not found api-gateway_1 | error Command failed with exit code 127. api-gateway_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. microservices-demo_api-gateway_1 exited with code 127

ThatGuyKev commented 3 years ago

it seems like you don't have babel-watch installed, make sure you run "yarn install" in each service

Evgen941-max commented 2 years ago

It doesn't work. I install babel-watch, but its did not solve the problem

ThatGuyKev commented 2 years ago

Did you check if you have the binaries inside node_modules? or where babel-watch is installed? How did you install babel-watch

Evgen941-max commented 2 years ago

Did you check if you have the binaries inside node_modules? or where babel-watch is installed? How did you install babel-watch

I use command "yarn add --dev babel-watch"

ThatGuyKev commented 2 years ago

Can you post your "package.json" of the service you're getting an error from and the error you get?

Evgen941-max commented 2 years ago

Can you post your "package.json" of the service you're getting an error from and the error you get?

If you want, I can send you this file in Telegram