[Pkg-javascript-devel] Bug#977900: node-autoprefixer: FTBFS: ENOENT: no such file or directory, open 'path'

Pirate Praveen praveen at onenetbeyond.org
Thu Dec 24 15:14:50 GMT 2020


Control: tags -1 pending

On Tue, 22 Dec 2020 16:25:36 +0100 Andreas Beckmann <anbe at debian.org> 
wrote:
 > debian/autoprefixer.js → dist/autoprefixer.js...
 > [!] Error: Could not load path (imported by 
./../usr/share/nodejs/postcss/lib/map-generator.js): ENOENT: no such 
file or directory, open 'path'
 > Error: Could not load path (imported by 
./../usr/share/nodejs/postcss/lib/map-generator.js): ENOENT: no such 
file or directory, open 'path'
 >
 > make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1
 > make[1]: Leaving directory '/build/node-autoprefixer-10.0.0'
 > make: *** [debian/rules:11: binary] Error 2
 >
 > A previous build on Oct 28 has been successful, so this current 
failure is probably
 > caused by some updated (transitive) build-depends.

It is fixed by changing the order of plugins used in rollup.config.js, 
rollup-plugin-polyfills should come before commonjs and node-resolve 
plugins.



More information about the Pkg-javascript-devel mailing list