[Pkg-javascript-devel] Need help with building vendor/autoprefixer.js for ruby-autoprefixer-rais
Pirate Praveen
praveen at onenetbeyond.org
Thu Feb 7 08:33:33 GMT 2019
Hi,
This was working fine before, I think its breaking now with nodejs 10
(guess because of reference to buffer in the error and remembering some
discussions around it).
Can someone help with this error? I tried adding node-buffer as build
dependency, but that did not change anything.
Full error message,
webpack --config debian/webpack.config.js \
debian/autoprefixer-entry.js vendor/autoprefixer.js
Hash: 9a9175abadfa6d1ee5d4
Version: webpack 3.5.6
Time: 1448ms
Asset Size Chunks Chunk Names
autoprefixer.js 2.24 MB 0 [emitted] [big] main
[0] /usr/lib/nodejs/autoprefixer/lib/declaration.js 7.82 kB {0}
[built]
[2] /usr/lib/nodejs/autoprefixer/lib/utils.js 2.18 kB {0} [built]
[4] /usr/lib/nodejs/postcss/lib/postcss.js 19.2 kB {0} [built]
[5] /usr/lib/nodejs/autoprefixer/lib/browsers.js 2.55 kB {0} [built]
[10] /usr/lib/nodejs/postcss/lib/at-rule.js 9.69 kB {0} [built]
[11] /usr/lib/nodejs/postcss/lib/rule.js 9.67 kB {0} [built]
[12] /usr/lib/nodejs/caniuse-lite/dist/unpacker/index.js 876 bytes
{0} [built]
[13] /usr/lib/nodejs/browserslist/index.js 18.3 kB {0} [built]
[25] /usr/lib/nodejs/process/browser.js 5.42 kB {0} [built]
[101] ./debian/autoprefixer-entry.js 41 bytes {0} [built]
[102] /usr/lib/nodejs/autoprefixer/lib/autoprefixer.js 3.66 kB {0}
[built]
[808] /usr/lib/nodejs/autoprefixer/lib/prefixes.js 17.8 kB {0} [built]
[866] /usr/lib/nodejs/autoprefixer/lib/hacks/cross-fade.js 2.58 kB {0}
[built]
[870] /usr/lib/nodejs/autoprefixer/lib/info.js 4.69 kB {0} [built]
[871] /usr/lib/nodejs/autoprefixer/data/prefixes.js 22.3 kB {0} [built]
+ 857 hidden modules
ERROR in /usr/lib/nodejs/postcss/lib/previous-map.js
Module not found: Error: Can't resolve
'./../../../../../<<PKGBUILDDIR>>/buffer' in
'/usr/lib/nodejs/postcss/lib'
@ /usr/lib/nodejs/postcss/lib/previous-map.js 1:0-106
@ /usr/lib/nodejs/postcss/lib/input.js
@ /usr/lib/nodejs/postcss/lib/parse.js
@ /usr/lib/nodejs/postcss/lib/postcss.js
@ /usr/lib/nodejs/autoprefixer/lib/autoprefixer.js
@ ./debian/autoprefixer-entry.js
ERROR in /usr/lib/nodejs/postcss/lib/map-generator.js
Module not found: Error: Can't resolve
'./../../../../../<<PKGBUILDDIR>>/buffer' in
'/usr/lib/nodejs/postcss/lib'
@ /usr/lib/nodejs/postcss/lib/map-generator.js 1:0-106
@ /usr/lib/nodejs/postcss/lib/lazy-result.js
@ /usr/lib/nodejs/postcss/lib/root.js
@ /usr/lib/nodejs/postcss/lib/postcss.js
@ /usr/lib/nodejs/autoprefixer/lib/autoprefixer.js
@ ./debian/autoprefixer-entry.js
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
More information about the Pkg-javascript-devel
mailing list