[Pkg-javascript-devel] Bug#929829: gulp 4 cannot build node-babel 7 - Cannot convert undefined or null to object

Pirate Praveen praveen at onenetbeyond.org
Sat Jun 1 11:14:29 BST 2019


package: gulp
version: 4.0.2-1
severity: grave
justification: it does not work at all
Control: tags -1 help

This is noticed with other packages build depending on gulp as well.

This repo can be used to reproduce the error 
https://salsa.debian.org/js-team/node-babel

I could not find a more verbose output (--verbose or -LLLL did not give 
any extra information). I need help fixing it.

$ dpkg-buildpackage
dpkg-buildpackage: info: source package node-babel
dpkg-buildpackage: info: source version 7.4.5-1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Pirate Praveen 
<praveen at debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean --with nodejs
   debian/rules override_dh_auto_clean
make[1]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
dh_auto_clean
 make -j1 clean
make[2]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
rm -rf codemods/*/test/tmp
rm -rf codemods/*/test-fixtures.json
rm -f .npmrc
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist
rm -rf coverage
rm -rf packages/*/npm-debug*
make[2]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
rm -rf node_modules packages/babel-runtime/core-js
rm -rf packages/*/node_modules
rm -rf packages/*/lib
make[1]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building node-babel using existing 
./node-babel_7.4.5.orig-gulp-filter.tar.gz
dpkg-source: info: building node-babel using existing 
./node-babel_7.4.5.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building node-babel in 
node-babel_7.4.5-1.debian.tar.xz
dpkg-source: info: building node-babel in node-babel_7.4.5-1.dsc
 debian/rules build
dh build --with nodejs
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
debian/generate-babel-preset-es2015.sh
make bootstrap
make[2]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
rm -rf package-lock.json
rm -rf .changelog
rm -rf packages/*/lib
rm -rf packages/*/node_modules
rm -rf packages/*/package-lock.json
rm -rf codemods/*/lib
rm -rf codemods/*/node_modules
rm -rf codemods/*/package-lock.json
make clean
make[3]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
rm -rf codemods/*/test/tmp
rm -rf codemods/*/test-fixtures.json
rm -f .npmrc
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist
rm -rf coverage
rm -rf packages/*/npm-debug*
make[3]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
#yarn --ignore-engines
#./node_modules/.bin/lerna bootstrap -- --ignore-engines
make build
make[3]: Entering directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
rm -rf codemods/*/test/tmp
rm -rf codemods/*/test-fixtures.json
rm -f .npmrc
rm -rf packages/babel-polyfill/browser*
rm -rf packages/babel-polyfill/dist
rm -rf coverage
rm -rf packages/*/npm-debug*
rm -rf packages/*/lib
rm -rf codemods/*/lib
gulp build
[15:37:17] Local modules not found in 
~/forge/debian/git/js-team/node-babel
[15:37:17] Try running: npm install
[15:37:17] Using globally installed gulp
[15:37:17] Using gulpfile 
~/forge/debian/git/js-team/node-babel/Gulpfile.js
[15:37:17] Starting 'build'...
[15:37:17] Cannot convert undefined or null to object
[15:37:17] To list available tasks, try running: gulp --tasks
[15:37:17] The following tasks did not complete: build
[15:37:17] Did you forget to signal async completion?
Makefile:13: recipe for target 'build' failed
make[3]: *** [build] Error 1
make[3]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
Makefile:160: recipe for target 'bootstrap' failed
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
debian/rules:11: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory 
'/home/pravi/forge/debian/git/js-team/node-babel'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2



More information about the Pkg-javascript-devel mailing list