[Pkg-javascript-devel] Bug#1134299: node-prismjs: FTBFS: ReferenceError: arrayEach is not defined

Santiago Vila sanvila at debian.org
Sat Apr 18 18:32:15 BST 2026


Package: src:node-prismjs
Version: 1.30.0+dfsg+~1.26.6-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202604/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-prismjs, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf types-prismjs/node_modules/.cache types-prismjs/.nyc_output
rm ./node_modules/.cache
rm types-prismjs/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/prismjs
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/prismjs -> ../../types-prismjs
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ gulp
[15:06:19] Local gulp not found in /<<PKGBUILDDIR>>
[15:06:19] Try running: npm install gulp
[15:06:19] Using globally installed gulp
[15:06:19] Using gulpfile /<<PKGBUILDDIR>>/gulpfile.js
[15:06:19] Starting 'default'...
[15:06:19] Starting 'minifyComponents'...
[15:06:19] Starting 'minifyThemes'...
[15:06:19] Starting 'componentsJsonToJs'...
[15:06:19] Starting 'build'...
[15:06:19] Starting 'languagePlugins'...
[15:06:19] Finished 'componentsJsonToJs' after 82 ms
(node:50) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[15:06:19] 'build' errored after 135 ms
[15:06:19] ReferenceError: arrayEach is not defined
    at template (/usr/share/nodejs/lodash.template/index.js:1489:3)
    at Transform.TransformStream [as _transform] (/usr/share/nodejs/gulp-header/index.js:24:11)
    at Transform._write (/usr/share/nodejs/readable-stream/lib/internal/streams/transform.js:153:8)
    at writeOrBuffer (/usr/share/nodejs/readable-stream/lib/internal/streams/writable.js:336:12)
    at _write (/usr/share/nodejs/readable-stream/lib/internal/streams/writable.js:285:10)
    at Writable.write (/usr/share/nodejs/readable-stream/lib/internal/streams/writable.js:288:10)
    at Transform.ondata (/usr/share/nodejs/readable-stream/lib/internal/streams/readable.js:707:22)
    at Transform.emit (node:events:519:28)
    at Transform.emit (node:domain:552:15)
    at addChunk (/usr/share/nodejs/readable-stream/lib/internal/streams/readable.js:323:12)
[15:06:19] 'default' errored after 138 ms
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list