messenger-to-telegram icon indicating copy to clipboard operation
messenger-to-telegram copied to clipboard

ERROR: Invalid interpolation format for "environment" option in service "web":

Open kentiongson opened this issue 5 years ago • 3 comments

Hi there! What is the meaning of this error?

ERROR: Invalid interpolation format for "environment" option in service "web": "TELEGRAM_TOKEN=${this line contains my generated Telegram Token from @BotFather}"

kentiongson avatar Oct 03 '20 05:10 kentiongson

Hi there, could you tell me what environment you are using it in? OS, node version, do you know if you are using docker or using it manually.

AlexR1712 avatar Oct 03 '20 23:10 AlexR1712

I'm running windows 10 home and docker desktop 2.4. My node (node.js) version is 12.18.4. Is this the node version that you're asking? I'm using VS code to execute the given instructions while running the docker in the background.

kentiongson avatar Oct 03 '20 23:10 kentiongson

ERROR: Invalid interpolation format for "environment" option in service "web": "TELEGRAM_TOKEN=${this line contains my generated Telegram Token from @Botfather}"

I had this error too - ubuntu server, messenger-to-telegram run in docker - as stated in documentation. I'm new to docker and docker-compose, so I don't know if it's correct. but I fixed the error with my config by removing "${" and "}" in all env variables, so all my envs are like this: TELEGRAM_TOKEN=my-token-here

but the bridge won't work anyway, nothing's forwarded :(

pejotigrek avatar Dec 26 '20 00:12 pejotigrek