svgdotjs / svgdom

Straightforward DOM implementation to make SVG.js run headless on Node.js
MIT License
269 stars 53 forks source link

Failed to pack the application #120

Closed PH8919 closed 6 months ago

PH8919 commented 6 months ago

Hi guy,

I'm using this lib to build my node-based application and i want to pack it using pkg, but error occurs as follows:

pkg@5.7.0 compression: GZip Warning Failed to make bytecode node16-x64 for file /snapshot/sample/node_modules/brotli/build/encode.js

svgdom: v0.1.16 svg.js: v2.7.1 node: v16.15.0 npm: v8.5.5 pkg: v5.7.0

Hope for your check and reply! Thanks!

Fuzzyma commented 6 months ago

the issue seems to be in brotli which is a dependency