lorepub/moot

Compile error in Views.hs

plaeremans opened this issue · 2 comments

`moot/src/Helpers/Views.hs:14:28: error:
Variable not in scope: css_app_css :: Route Static
|
14 | addStylesheet (StaticR css_app_css)
| ^^^^^^^^^^^

`

Do not now whether this is a good place to post this, just wanted to play around with yesod example.

I've encountered the same error. Fixed by deleting package.lock.json in the frontend directory and followed by reinstalling npm dependencies.

Variable not in scope: css_app_css :: Route Static

This means you need to compile the frontend assets, not delete the frontend asset pipeline dependencies.