Tasks not starting

I pushed a commit to a branch with following configuration. When I start a new workspace by clicking on “Gitpod” (by Chrome extension), workspace is being created. Extensions are installing normally but tasks are not running.

  - name: Run Client
    before: cd client
    init: yarn install
    command: yarn start
    openMode: tab-after
  - name: Run Server
    init: npm install
    command: npm run server
    openMode: tab-after

    - formulahendry.auto-close-tag
    - coenraads.bracket-pair-colorizer
    - pkief.material-icon-theme
    - eamodio.gitlens
    - usernamehw.errorlens

  - port: 3000
    onOpen: open-browser
    visibility: public
  - port: 4000
    onOpen: ignore
    visibility: public

Update: After removing env from task Run Client it worked fine. But I am still confused why it was not running with env

Hi Faisal! Welcome to the community, it’s great to have you here. :tada:

I was able to replicate this problem as well on my end, so I’d suggest you raise it in our GitHub issues (Issues · gitpod-io/gitpod · GitHub) so that our Engineering team can have a look into it from there.

I found that I was still able to set Environment Variables via the gp env command detailed in our docs: Environment Variables

Happy Coding!