Package Details: vivify-git v0.6.2.r0.g23c3e71-3

Git Clone URL: https://aur.archlinux.org/vivify-git.git (read-only, click to copy)
Package Base: vivify-git
Description: Markdown preview tool which can be used standalone or plug into an editor like (Neo)Vim
Upstream URL: https://github.com/jannis-baum/vivify
Licenses: GPL-3.0-or-later
Conflicts: vivify
Provides: vivify
Submitter: tuurep
Maintainer: tuurep
Last Packager: tuurep
Votes: 0
Popularity: 0.000000
First Submitted: 2024-08-26 15:11 (UTC)
Last Updated: 2024-11-17 13:29 (UTC)

Required by (0)

Sources (1)

Latest Comments

tuurep commented on 2024-11-12 18:22 (UTC) (edited on 2024-11-17 13:29 (UTC) by tuurep)

SOLVED

Build errors out with node v23.2.0

Known regression: https://github.com/nodejs/node/issues/55826

As a workaround, use node v23.1.0 in build instead of latest


Since vivify v0.6.2 the build is failing with

ERROR in ./build/dist/parser/parser.js + 102 modules
Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ConcatenationScope.matchModuleReference (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/ConcatenationScope.js:145:13)
    at ConcatenatedModule.codeGeneration (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/optimize/ConcatenatedModule.js:1253:41)
    at /home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/Compilation.js:3492:22
    at /home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/Cache.js:97:5
    at Hook.eval [as callAsync] (eval at create (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Cache.get (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/Cache.js:79:18)
    at ItemCacheFacade.get (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/CacheFacade.js:115:15)
    at Compilation._codeGenerationModule (/home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/Compilation.js:3485:9)
    at /home/tuure/.cache/yay/vivify-git/src/vivify-git/node_modules/webpack/lib/Compilation.js:3390:11

webpack 5.94.0 compiled with 1 error and 1 warning in 6411 ms
make: *** [Makefile:37: build/bundle.js] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vivify-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
vivify-git - exit status 4

We're trying to figure this out.

  • not related to yay
  • not related to v0.6.2, as the current v0.6.1 vivify (AUR) errors out the same way