Replies: 1 comment
-
Figured out! The problem was with Ubuntu. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I tried to run command
inkscape --help
usingBun.spawnSync
andBun.spawn
andchild_process exec
The result of
child_process exec
is ``Error: Command failed: inkscape --help`And result of
Bun.spawn
isWrong __data_start/_end pair
How can this be fixed?
If I use node, it works perfectly, but with bun no =(
More details:
Bun: 1.1.34
Ubuntu: 21.10
Inkscape: 1.1.1
Run
bun test.js
Result of error
Wrong __data_start/_end pair
If I run in the CLI the same command:
inkscape --help
orinkscape test.svg --export-filename=final.pdf
it works well!But If I run node
test-node.cjs
It work also well.
Beta Was this translation helpful? Give feedback.
All reactions