Discussion:
[hakyll] Had to run stack init
b***@gmail.com
2016-05-08 12:22:37 UTC
Permalink
Hi,

I was following the installation tutorial and, when I first tried to run
'stack build', I received the error

***@ben-XPS ~/D/c/personal_site> stack build

Run from outside a project, using implicit global project config
/home/ben/.stack/global-project/stack.yaml
Error parsing targets: The specified targets matched no packages.

Perhaps you need to run 'stack init'?

(1) ***@ben-XPS ~/D/c/personal_site> stack init


After running 'stack init', I was able to run 'stack build' successfully.
That one might need to run 'stack init' should be mentioned in the
installation tutorial.

Thanks for working on this. I'm looking forward to getting started!
Ben
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jasper Van der Jeugt
2016-05-12 14:28:54 UTC
Permalink
Hi Ben,

Thanks for noticing that. I added a note about it in the tutorial.

Peace,
Jasper
Post by b***@gmail.com
Hi,
I was following the installation tutorial and, when I first tried to run
'stack build', I received the error
Run from outside a project, using implicit global project config
/home/ben/.stack/global-project/stack.yaml
Error parsing targets: The specified targets matched no packages.
Perhaps you need to run 'stack init'?
After running 'stack init', I was able to run 'stack build' successfully.
That one might need to run 'stack init' should be mentioned in the
installation tutorial.
Thanks for working on this. I'm looking forward to getting started!
Ben
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...