[Pkg-javascript-devel] Bug#962037: Bug#962037: Bug#962037: Bug#962037: Bug#962037: Bug#962037: Plan B for not being able to replicate upstream exports exactly

Pirate Praveen praveen at onenetbeyond.org
Fri Jun 5 07:24:23 BST 2020



On Fri, Jun 5, 2020 at 11:36 am, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> I have reproduced the same error with less npm dist tarball in 
> embed-less-npm-dist-tar branch of rainloop in salsa, so reassigning 
> back to rainloop.
> 
> [05:52:23] Finished 'lightgalleryFontsCopy' after 497 ms
> [05:52:23] Finished 'fontasticFontsCopy' after 941 ms
> [05:52:26] Finished 'ckeditorCopyPlugins' after 4.37 s
> (node:36015) UnhandledPromiseRejectionWarning: TypeError 
> [ERR_INVALID_ARG_TYPE]: The first argument must be one of type 
> string, Buffer, ArrayBuffer, Array, or Array-like Object. Received 
> type object
>    at Function.from (buffer.js:231:9)
>    at new Buffer (buffer.js:181:17)
>    at /<<PKGBUILDDIR>>/debian/build/gulp-less.js:40:23
>    at 
> /<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:10288:17
>    at 
> /<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:10520:17
>    at ImportVisitor.finish [as _finish] 
> (/<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:6798:28)
>    at ImportVisitor._onSequencerEmpty 
> (/<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:5097:14)
>    at ImportSequencer.tryRun 
> (/<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:5064:18)
>    at 
> /<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:5034:29
>    at fileParsedFunc 
> (/<<PKGBUILDDIR>>/debian/build_modules/less/dist/less.cjs.js:10167:21)
> (node:36015) UnhandledPromiseRejectionWarning: Unhandled promise 
> rejection. This error originated either by throwing inside of an 
> async function without a catch block, or by rejecting a promise which 
> was not handled with .catch(). (rejection id: 1)

I have fixed this error in master by embedding a newer version of 
gulp-less.

> [05:52:35] Finished '<anonymous>' after 13 s
> [05:52:35] Starting 'jsLibs'...
> [05:52:35] Starting 'jsApp'...
> [05:52:35] Starting 'jsAdmin'...
> [05:52:35] 'jsLibs' errored after 13 ms
> [05:52:35] Error: File not found with singular glob: 
> /usr/lib/nodejs/autolinker/dist/Autolinker.js (if this was 
> purposeful, use `allowEmpty` option)
>    at Glob.<anonymous> 
> (/usr/share/nodejs/glob-stream/readable.js:84:17)

This error is still there.

>    at Object.onceWrapper (events.js:286:20)
>    at Glob.emit (events.js:198:13)
>    at Glob.EventEmitter.emit (domain.js:448:20)
>    at Glob._finish (/usr/share/nodejs/glob/glob.js:197:8)
>    at done (/usr/share/nodejs/glob/glob.js:182:14)
>    at Glob._processSimple2 (/usr/share/nodejs/glob/glob.js:688:12)
>    at /usr/share/nodejs/glob/glob.js:676:10
>    at Glob._stat2 (/usr/share/nodejs/glob/glob.js:772:12)
>    at lstatcb_ (/usr/share/nodejs/glob/glob.js:764:12)
> [05:52:35] 'rainloop' errored after 14 s
> [05:52:35] The following tasks did not complete: <series>, 
> <parallel>, cssMainBuild, jsApp, jsAdmin
> [05:52:35] Did you forget to signal async completion?
> 
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel



More information about the Pkg-javascript-devel mailing list