now-compose icon indicating copy to clipboard operation
now-compose copied to clipboard

Cannot set property 'NOW_DEPLOYED' of undefined

Open devudopw opened this issue 6 years ago • 4 comments

Hello

When deploy, it shows "Cannot set property 'NOW_DEPLOYED' of undefined". How to set?

devudopw avatar Sep 05 '18 09:09 devudopw

Can you post your docker-compose.yml?

dannav avatar Sep 07 '18 17:09 dannav

Sure, it runs successfully with docker-compose

version: "3"
services:
  scrapyd:
    container_name: sc1
    hostname: sc1
    image: zaim/scrapyd
    ports:
      - "6800:6800"
  spiderkeeper:
    container_name: sd1
    hostname: sd1
    build: ./spiderkeeper
    command: --server=http://sc1:6800 --no-auth
    ports:
      - "5000:5000"
    depends_on:
      - scrapyd

devudopw avatar Sep 08 '18 03:09 devudopw

I'm also having the same problem. I get the cannot set property of NOW_DEPLOYED of undefined, but everything works with docker-compose. The below is my docker-compose.yml

version: '3'
services:
  client:
    build: Client
    ports:
      - "80:80"
    restart: on-failure
    links:
      - server
    depends_on:
      - server
  server:
    build: Server
    ports:
      - "81:81"

nojansheybani avatar Jan 07 '19 17:01 nojansheybani

You can try setting the environment variable in your docker-compose file and leaving it empty.

Otherwise I have stopped development on this project with the release of now 2.0. But feel free to make a pull request if you have a solution to this issue

dannav avatar Jan 07 '19 18:01 dannav