Skip to content

cannot build book #2

@sarkologist

Description

@sarkologist

i did docker-compose run book bash and then npm install and then sbt and then pdf

Running "pandoc:pdf" (pandoc) task
Running shell command: pandoc --smart --output=dist/essential-interpreters.pdf --template=node_modules/underscore-ebook-template/lib/templates/template.tex --from=markdown+grid_tables+multiline_tables+fenced_code_blocks+fenced_code_attributes+yaml_metadata_block+implicit_figures+header_attributes+definition_lists+link_attributes --latex-engine=xelatex --variable=lib-dir:node_modules/underscore-ebook-template/lib --filter=node_modules/underscore-ebook-template/lib/filters/pdf/unwrap-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/merge-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/callout.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/columns.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/solutions.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/vector-images.coffee --filter=node_modules/underscore-ebook-template/lib/filters/pdf/listings.coffee --chapters --number-sections --table-of-contents --highlight-style tango --standalone --self-contained --toc-depth=2 --include-before-body=node_modules/underscore-ebook-template/lib/templates/cover-notes.tex src/meta/metadata.yaml src/meta/pdf.yaml target/pages/introduction.md target/pages/untyped/introduction.md target/pages/untyped/arithmetic.md target/pages/untyped/other-data-types.md target/pages/untyped/binding.md target/pages/untyped/hoas.md target/pages/typed/introduction.md target/pages/monadic_interpreters.md target/pages/free_monoids.md target/pages/free_monads.md target/pages/solutions.md target/pages/links.md
>> [pandoc warning] --chapters is deprecated. Use --top-level-division=cha
>> pter instead.
>> /source/node_modules/pandoc-filter/index.js:36
>>   return walk(data, action, format, data[0].unMeta);
>>                                            ^
>>
>> TypeError: Cannot read property 'unMeta' of undefined
>>     at filter (/source/node_modules/pandoc-filter/index.js:36:44)
>>     at /source/node_modules/pandoc-filter/index.js:27:18
>>     at Socket.<anonymous> (/source/node_modules/get-stdin/index.js:13:3)
>>     at emitNone (events.js:91:20)
>>     at Socket.emit (events.js:185:7)
>>     at endReadableNT (_stream_readable.js:974:12)
>>     at _combinedTickCallback (internal/process/next_tick.js:80:11)
>>     at process._tickCallback (internal/process/next_tick.js:104:9)
>> p
>> a
>> n
>> d
>> o
>> c
>> :
>>
>> E
>> r
>> r
>> o
>> r
>>
>> r
>> u
>> n
>> n
>> i
>> n
>> g
>>
>> f
>> i
>> l
>> t
>> e
>> r node_modules/underscore-ebook-template/lib/filters/pdf/unwrap-code.c
>> o
>> f
>> f
>> e
>> e
>> Filter returned error status 1
>> Shell command exited with code 83
Warning: Task "pandoc:pdf" failed. Use --force to continue.

Aborted due to warnings

same thing for html

Running "pandoc:html" (pandoc) task
Running shell command: pandoc --smart --output=dist/essential-interpreters.html --template=node_modules/underscore-ebook-template/lib/templates/template.html --from=markdown+grid_tables+multiline_tables+fenced_code_blocks+fenced_code_attributes+yaml_metadata_block+implicit_figures+header_attributes+definition_lists+link_attributes --latex-engine=xelatex --variable=lib-dir:node_modules/underscore-ebook-template/lib --filter=node_modules/underscore-ebook-template/lib/filters/html/unwrap-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/html/merge-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/html/tables.coffee --filter=node_modules/underscore-ebook-template/lib/filters/html/solutions.coffee --filter=node_modules/underscore-ebook-template/lib/filters/html/vector-images.coffee --chapters --number-sections --table-of-contents --highlight-style tango --standalone --self-contained --toc-depth=2 --include-before-body=node_modules/underscore-ebook-template/lib/templates/cover-notes.html src/meta/metadata.yaml src/meta/html.yaml target/pages/introduction.md target/pages/untyped/introduction.md target/pages/untyped/arithmetic.md target/pages/untyped/other-data-types.md target/pages/untyped/binding.md target/pages/untyped/hoas.md target/pages/typed/introduction.md target/pages/monadic_interpreters.md target/pages/free_monoids.md target/pages/free_monads.md target/pages/solutions.md target/pages/links.md
>> [
>> pandoc
>> warning] --chapters is deprecated. Use --top-level-division=chapter in
>> stead.
>> /source/node_modules/pandoc-filter/index.js:36
>>   return walk(data, action, format, data[0].unMeta);
>>                                            ^
>>
>> TypeError: Cannot read property 'unMeta' of undefined
>>     at filter (/source/node_modules/pandoc-filter/index.js:36:44)
>>     at /source/node_modules/pandoc-filter/index.js:27:18
>>     at Socket.<anonymous> (/source/node_modules/get-stdin/index.js:13:3)
>>     at emitNone (events.js:91:20)
>>     at Socket.emit (events.js:185:7)
>>     at endReadableNT (_stream_readable.js:974:12)
>>     at _combinedTickCallback (internal/process/next_tick.js:80:11)
>>     at process._tickCallback (internal/process/next_tick.js:104:9)
>>
>> pando
>> c: Error running filter node_modules/underscore-ebook-template/lib/fil
>> ters/html/u
>> nwrap-code.coffee
>> Filter returned error sta
>> tus 1
>> Shell command exited with code 83
Warning: Task "pandoc:html" failed. Use --force to continue

and epub

Running "pandoc:epub" (pandoc) task
Running shell command: pandoc --smart --output=dist/essential-interpreters.epub --template=node_modules/underscore-ebook-template/lib/templates/template.epub.html --from=markdown+grid_tables+multiline_tables+fenced_code_blocks+fenced_code_attributes+yaml_metadata_block+implicit_figures+header_attributes+definition_lists+link_attributes --latex-engine=xelatex --variable=lib-dir:node_modules/underscore-ebook-template/lib --filter=node_modules/underscore-ebook-template/lib/filters/epub/unwrap-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/epub/merge-code.coffee --filter=node_modules/underscore-ebook-template/lib/filters/epub/solutions.coffee --filter=node_modules/underscore-ebook-template/lib/filters/epub/vector-images.coffee --chapters --number-sections --table-of-contents --highlight-style tango --standalone --self-contained --toc-depth=2 --epub-stylesheet=dist/temp/epub/main.css --epub-cover-image=src/covers/epub-cover.png --include-before-body=node_modules/underscore-ebook-template/lib/templates/cover-notes.html src/meta/metadata.yaml src/meta/epub.yaml target/pages/introduction.md target/pages/untyped/introduction.md target/pages/untyped/arithmetic.md target/pages/untyped/other-data-types.md target/pages/untyped/binding.md target/pages/untyped/hoas.md target/pages/typed/introduction.md target/pages/monadic_interpreters.md target/pages/free_monoids.md target/pages/free_monads.md target/pages/solutions.md target/pages/links.md
>> [
>> pandoc warning] --chapters is deprecated. Use --top-level-division=cha
>> pter instead.
>> /source/node_modules/pandoc-filter/index.js:36
>>   return walk(data, action, format, data[0].unMeta);
>>                                            ^
>>
>> TypeError: Cannot read property 'unMeta' of undefined
>>     at filter (/source/node_modules/pandoc-filter/index.js:36:44)
>>     at /source/node_modules/pandoc-filter/index.js:27:18
>>     at Socket.<anonymous> (/source/node_modules/get-stdin/index.js:13:3)
>>     at emitNone (events.js:91:20)
>>     at Socket.emit (events.js:185:7)
>>     at endReadableNT (_stream_readable.js:974:12)
>>     at _combinedTickCallback (internal/process/next_tick.js:80:11)
>>     at process._tickCallback (internal/process/next_tick.js:104:9)
>>
>> pandoc: Error running filter node_modules/underscore-e
>> book-template/lib/filters/epub/unwrap-code.coffee
>> Filter returned err
>> or status 1
>> Shell command exited with code 83
Warning: Task "pandoc:epub" failed. Use --force to continue.

Aborted due to warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions