station icon indicating copy to clipboard operation
station copied to clipboard

"stack build" encounter error

Open luckypoem opened this issue 8 years ago • 2 comments

hi.

root@localhost:/usr/local/station-site# ls deck MIT-LICENSE.txt schemas src station.cabal docs README.md shell.nix stack.yaml test root@localhost:/usr/local/station-site# stack build /usr/local/station-site/../hjsonschema: canonicalizePath: does not exist (No such file or directory) root@localhost:/usr/local/station-site#

how to fix it?

luckypoem avatar Mar 31 '17 14:03 luckypoem

Do you know how stack.yml files work? There's a description of them here: https://docs.haskellstack.org/en/stable/custom_snapshot/#yaml-format. You can see the one used by Station here: https://github.com/seagreen/station/blob/master/stack.yaml

It says that you need to clone hjsonschema and place it next to station for the build to work.

seagreen avatar Mar 31 '17 15:03 seagreen

i see.thank u so much

luckypoem avatar Apr 03 '17 04:04 luckypoem