[Pkg-javascript-devel] babel 6 -> 7 transition - call for help

Pirate Praveen praveen at onenetbeyond.org
Tue Oct 23 20:07:09 BST 2018


On 10/23/18 7:06 PM, Pirate Praveen wrote:
> I started working on the update and just looked at the devDependencies,
> it needs browserify, webpack, rollup and gulp to build! This is new
> record even by node's own standard!

It seems webpack is used only for babel-standalone so I have patched out
its usage for now.

I have embedded all new build dependencies and got this far,

/<<PKGBUILDDIR>>/Gulpfile.js:121
gulp.task("default", gulp.series("build"));
                          ^

TypeError: gulp.series is not a function
    at Object.<anonymous> (/<<PKGBUILDDIR>>/Gulpfile.js:121:27)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Liftoff.handleArguments (/usr/lib/nodejs/gulp/bin/gulp.js:119:3)
    at Liftoff.<anonymous> (/usr/lib/nodejs/liftoff/index.js:198:16)
make[3]: *** [Makefile:13: build] Error 1

Looks like I need to update gulp to 4.x So another transition to go with
this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20181024/2191123e/attachment.sig>


More information about the Pkg-javascript-devel mailing list