-
Notifications
You must be signed in to change notification settings - Fork 372
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
Unable to run yesod devel with stack #1028
Comments
Can you try the instructions at On Thu, Jul 2, 2015, 1:23 PM René Klačan notifications@github.com wrote:
|
Thanks for blazingly fast answer, going to try it immediately |
After running
My env:
|
This is a feature in the newest yesod-bin. Did you install the newest version as per the blog post ( |
You are right. Sorry, Thank you very much. You are my hero! Have a nice evening! |
Afternoon actually, I'm in California as of yesterday ;) On Thu, Jul 2, 2015 at 2:12 PM René Klačan notifications@github.com wrote:
|
Have a nice afternoon then :D |
I'm getting this error, but I have version Also weirdly, this isn't working:
|
Needs to be
|
@MaxGabriel well, same issue remains. |
Just to confirm the report, you're saying you get the exact same
|
I'm running into the same issue now. @bitemyapp, how did you resolve this? |
For others: you need to install |
I am getting this in a brand new
If I visit |
Looks like @mrkkrp's comment applies (need to install cabal). However, if you modify your
Then |
@snoyberg -- I very much appreciate the quick response. Loving Yesod overall, BTW. After years of being stuck in Java/JS in a web world dominated by Ruby, Yesod is a breath of fresh air. For the record, I also had to add these to my
(But the error message was very helpful in pointing that out.) If you want to replicate the original problem, the following commands (taken from
|
Cool, glad it's working. I've slated yesod-bin-1.5.1 to be included in the
next LTS releases so that all of this will happen automatically in the
future.
…On Tue, Jan 17, 2017 at 4:04 PM, Robert Fischer ***@***.***> wrote:
@snoyberg <https://github.com/snoyberg> -- I very much appreciate the
quick response. Loving Yesod overall, BTW. After years of being stuck in
Java/JS in a web world dominated by Ruby, Yesod is a breath of fresh air.
For the record, I also had to add these to my extra-deps list in
stack.yaml:
- say-0.1.0.0
- typed-process-0.1.0.0
(But the error message was very helpful in pointing that out.)
If you want to replicate the original problem, the following commands
(taken from history) do it reliably:
2182 mkdir ~/tmp
2183 cd ~/tmp/
2185 stack new demo yesod-simple
2187 cd ./demo/
2189 stack setup
2190 stack install yesod-bin
2193 stack exec -- yesod devel
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1028 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB8fUm7f7b55JPy-NLH7ml7jx7k9pks5rTMpvgaJpZM4FQ-0j>
.
|
I'm getting this error with yesod-bin-1.5.1 (lts-8.0), fresh scaffolded yesod-sqlite. $ stack exec -- yesod version $ stack exec -- yesod devel http://localhost:3000 yesod: stack: startProcess: runInteractiveProcess: exec: does not exist (No such file or directory) I have also installed yesod-bin through nix (I am running NixOS), and that version will run, but gives me the application hasn't been built page $ yesod version |
I have the same issues as @tdimiduk. $ stack exec -- yesod version
yesod-bin version: 1.5.2.2
$ stack --nix exec -- yesod devel
Yesod devel server. Enter 'quit' or hit Ctrl-C to quit.
Application can be accessed at:
http://localhost:3000
https://localhost:3443
If you wish to test https capabilities, you should set the following variable:
export APPROOT=https://localhost:3443
yesod: stack: startProcess: runInteractiveProcess: exec: does not exist (No such file or directory) So stack does not find stack. strace shows that stack looks for stack in many places but not in the |
Here's a line from
|
Here is a workaround: cp $(type -P stack) .stack-work/install/x86_64-linux-nix/lts-8.8/8.0.2/bin/ Now |
Thanks, that workaround does solve the problem for me for now.
…On Tue, Apr 4, 2017 at 2:10 PM Jos van den Oever ***@***.***> wrote:
Here is a workaround:
cp $(type -P stack) .stack-work/install/x86_64-linux-nix/lts-8.8/8.0.2/bin/
Now stack exec -- yesod devel runs fine with the workaround.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1028 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArz9M8slqm1qRjXkUvHPPTT7woAfxkQks5rsoeSgaJpZM4FQ-0j>
.
|
After suggestion from @vandenoever, yesod devel works. |
Just FYI, I ran into this problem too, as posted by @vandenoever, and their solution fixed it: copying Should we reopen this issue, as I'm sure others are still running into it? |
Hi,
Sorry for asking such a basic question, I was googling and found this commercialhaskell/stack#153 for example but wasn't able to solve my problem anyway.
I have fresh install of stack and eveything is working great except
yesod devel
First thing I tried to run
stack exec yesod -- devel
but I gotI tried
stack install yesod
to install it globally and doyesod devel
but got same error.So I installed cabal by running
stack install cabal-install
Then when I tried to run
yesod devel
I gotEven tried to run
cabal install --enable-tests . --max-backjumps=-1 --reorder-goals
but it didn't change anything...I am running out of ideas so can you give me any hint how to solve it because workflow "stack build" and "stack exec some_yesod_app" after every change is killing me.
Thanks
Rene
The text was updated successfully, but these errors were encountered: