Skip to content

Unable to compile with current toolchain #109

@mouse07410

Description

@mouse07410

MacOS Catalina 10.15.5, GHC-8.8.3, Stack-2.3.1, current LaTeX (MacTeX-2020):

$ stack exec make
pandoc -c css/style.css --filter includes.hs --template template.html -s -f markdown -t html --standalone --toc --toc-depth=2 --mathjax="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --highlight-style pygments -o 000_introduction.html 000_introduction.md

includes.hs:6:1: error:
    Could not find module ‘Text.Pandoc’
    Perhaps you meant Text.Parsec (from parsec-3.1.14.0)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
6 | import Text.Pandoc
  | ^^^^^^^^^^^^^^^^^^

includes.hs:10:1: error:
    Could not find module ‘Text.Pandoc.JSON’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
10 | import Text.Pandoc.JSON
   | ^^^^^^^^^^^^^^^^^^^^^^^

includes.hs:11:1: error:
    Could not find module ‘Text.Pandoc.Walk’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
11 | import Text.Pandoc.Walk
   | ^^^^^^^^^^^^^^^^^^^^^^^
Error running filter includes.hs:
Filter returned error status 1
make: *** [000_introduction.html] Error 83

$ stack --version
Version 2.3.1, Git revision de2a7b694f07de7e6cf17f8c92338c16286b2878 (8103 commits) x86_64 hpack-0.33.0
$ pandoc --version
pandoc 2.9.2.1
Compiled with pandoc-types 1.20, texmath 0.12.0.2, skylighting 0.8.4
Default user data directory: /Users/ur20980/.local/share/pandoc or /Users/ur20980/.pandoc
Copyright (C) 2006-2020 John MacFarlane
Web:  https://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.8.3

It would be great if you could help getting this book compiled/built. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions