Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install exec: not started #229

Open
u007 opened this issue Dec 28, 2018 · 14 comments
Open

install exec: not started #229

u007 opened this issue Dec 28, 2018 · 14 comments

Comments

@u007
Copy link

u007 commented Dec 28, 2018

ive a project based on go module, and on a new machine with latest realize, it somehow returns:

Watching 154 file/s 36 folder/s
[11:55:29][....] : Install started
[11:55:29][....] : Install
exec: not started

settings:
  files:
    outputs:
      status: false
      path: ""
      name: .r.outputs.log
    logs:
      status: false
      path: ""
      name: .r.logs.log
    errors:
      status: false
      path: ""
      name: .r.errors.log
  legacy:
    force: false
    interval: 0s
schema:
- name: mypro
  path: .
  commands:
    run:
      status: true
  args:
    - serve
  watcher:
    extensions:
    - go
    - graphql
    paths:
    - /
    ignore:
      paths:
      - .git
      - .realize
      - vendor
      - .idea
@frederikhors
Copy link

Same here. News?

@jhartman86
Copy link

jhartman86 commented Dec 28, 2018

Same thing as well. Downgrading to 2.0.1 works, but if you're using the latest release (eg. just doing go get ...), this error occurs.

Edit these other issues seem to be related as well:

@frederikhors
Copy link

@jhartman86 how to downgrade?

@jhartman86
Copy link

@frederikhors this is what worked for me (note, this is within Docker, using the golang:1.11.3-alpine3.8 image):

#!/usr/bin/env bash

export GO111MODULE=off

cd ~/
go get github.com/oxequa/realize
cd /go/src/github.com/oxequa/realize && \
  git fetch && \
  git checkout v2.0.2 && \
  go get github.com/oxequa/realize

RV=$(realize --version)
echo "Realize installed @: $RV"

export GO111MODULE=on

Frankly, I've got no idea why checking out the tag and then running go get ... again works, but it does. YMMV

@yu19991013
Copy link

@frederikhors I've just solved this problem.
In your .realize.yaml, path is "."
As I wrote same setting, I got below error

exec: not started

So I changed path setting to below.

- name: mypro
  path: ./cmd/api/

Finally, realize could work without error.
I hope this comment helps your issue.

@chjiyun
Copy link

chjiyun commented Oct 5, 2019

didn't work for me , tired...

[13:26:05][GIN_APP] : Watching 5 file/s 1 folder/s
[13:26:05][GIN_APP] : Install started
[13:26:05][GIN_APP] : Install 
 exec: not started

@chjiyun
Copy link

chjiyun commented Oct 5, 2019

@jhartman86 it works successfull, 666~

@fordguo
Copy link

fordguo commented Jan 2, 2020

the lasted version 2.0.3,have the same error.

@danielo515
Copy link

I am also having the same problem. I'm subscribing for a fix 😄

@benc-uk
Copy link

benc-uk commented Apr 27, 2020

Same problem
Using it inside a container, get "exec: not started"

@patrickhener
Copy link

Same here, also subscribing for solution

@smithyj
Copy link

smithyj commented Aug 7, 2020

metoo

settings:
  legacy:
    force: false
    interval: 0s
schema:
- name: apiserver
  path: .
  commands:
    fmt:
      status: true
    run:
      status: true
      method: echo 1111
  watcher:
    extensions:
    - go
    paths:
    - /
    ignored_paths:
    - .git
    - .realize
    - vendor

@myhendry
Copy link

same issue for me. my .realize.yaml

settings:
  legacy:
    force: false
    interval: 0s
schema:
  - name: go-server
    path: .
    commands:
      run:
        status: true
    watcher:
      extensions:
        - go
      paths:
        - /
      ignored_paths:
        - .git
        - .realize
        - vendor

@jeffreylean
Copy link

Adding install under commands, works for me.

    commands:
      install:
        status: true
        method: go install
      run:
        status: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests