-
Notifications
You must be signed in to change notification settings - Fork 7
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
"stack build" encounter errors #6
Comments
You should try to delete |
Delete the contents of ~/.stack/snapshots/,then it's ok |
hi. root@AR:/usr/local/yblog# stack build /usr/local/yblog/site.hs:144:9: error: /usr/local/yblog/site.hs:145:9: error: /usr/local/yblog/site.hs:157:9: error: /usr/local/yblog/site.hs:158:9: error: /usr/local/yblog/site.hs:176:9: error: /usr/local/yblog/site.hs:177:9: error: /usr/local/yblog/site.hs:191:9: error: /usr/local/yblog/site.hs:192:9: error: -- While building package yblog-1.0 using: how to fix them?? |
This is very strange, I can compile on a Mac. Can you try to use:
If you encounter this kind of error again, it can be a nice bug use case for the stack team. |
hi.
root@AR:/usr/local/yblog# stack build
it shows:
...
-- While building package wai-app-static-3.1.6.1 using:
/root/.stack/setup-exe-cache/i386-linux/Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1 --builddir=.stack-work/dist/i386-linux/Cabal-1.24.0.0 build --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /usr/local/yblog/.stack-work/logs/wai-app-static-3.1.6.1.log
root@AR:/usr/local/yblog#
i ran "stack install wai-app-static",also i encounter the above error.
how to fix it?
thank u very much.
The text was updated successfully, but these errors were encountered: