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

Running indir with forward paths throws an error #85

Open
ardikaveh opened this issue Apr 29, 2020 · 4 comments
Open

Running indir with forward paths throws an error #85

ardikaveh opened this issue Apr 29, 2020 · 4 comments

Comments

@ardikaveh
Copy link

trying add indir like so

{
indir: ./cmd/seo
}

and I get the following error

19:12:30: Error running prep: fork/exec /usr/local/bin/modd: no such file or directory

this is on a mac.

@wader
Copy link

wader commented Apr 29, 2020

Can you post the full modd.conf? running modd from modd?

@ardikaveh
Copy link
Author

Have this
**/*.qtpl{ prep: ../../bin/goz generate ./web/seo/... daemon +sigterm: go run ./cmd/seo/* }

would like this
**/*.qtpl{ indir: ./cmd/seo prep: ../../bin/goz generate ./web/seo/... daemon +sigterm: go run * }

You can put any valid forward path it will throw the error

I have a modd.conf and run modd from the same folder of the modd.conf

@charlesmarvin
Copy link

@ardikaveh Looks like this could be related to issue #69

Have you tried running the same config using master?
If you are installing modd via Homebrew you can do the following:

% brew unlink modd
% brew install -HEAD modd

@Voles
Copy link

Voles commented Jun 7, 2020

@charlesmarvin thanks for this! You're solution helped me to resolve the issue @ardikaveh had.

There's a small typo, a dash is missing. The following works:

brew unlink modd
brew install --HEAD modd

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

4 participants