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

The js path and files need added to the cabal distribution #16

Open
TomMD opened this issue Mar 5, 2020 · 1 comment
Open

The js path and files need added to the cabal distribution #16

TomMD opened this issue Mar 5, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@TomMD
Copy link

TomMD commented Mar 5, 2020

The cabal release of this package is missing the js directory and files thus resulting in a build error:

src/Replica/VDOM.hs:259:16-50: error:
    • Exception when trying to run compile-time code:
        js/dist/client.js: openBinaryFile: does not exist (No such file or directory)
      Code: FE.embedFile "js/dist/client.js"
    • In the untyped splice: $(FE.embedFile "js/dist/client.js")                                          |                                                                                                 259 | clientDriver = $(FE.embedFile "js/dist/client.js")
@pkamenarsky pkamenarsky added the bug Something isn't working label Mar 6, 2020
@seagreen
Copy link
Contributor

seagreen commented Mar 6, 2020

Might want to use makeRelativeToProject as well: https://hackage.haskell.org/package/file-embed-0.0.11.2/docs/Data-FileEmbed.html#v:makeRelativeToProject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants