[Pkg-javascript-devel] Bug#962037: 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 10:40:04 BST 2020
On Fri, Jun 5, 2020 at 11:54 am, Pirate Praveen
<praveen at onenetbeyond.org> wrote:
>
>
> 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.
This is likely broken by node-merge-stream update from 1.0 to 2.0.
node-merge-stream is a build dependeny of node-autolinker.
More information about the Pkg-javascript-devel
mailing list