soimy / msdf-bmfont-xml

Generate BMFont texture and spec XML using msdfgen
https://soimy.github.io/msdf-bmfont-xml/
MIT License
316 stars 46 forks source link

Command failed, const err = new Error(message); #92

Open Eneskp3441 opened 1 year ago

Eneskp3441 commented 1 year ago

I get this error when I try to run it:

D:\Depolama\Programlar\msdf-atlas\New folder>msdf-bmfont -o .\bigapple.png -m 480,480 -s 32 -r 1 -i bigapple.txt -t msdf bigapple.ttf

Using following settings
========================================
version         : msdf-bmfont-xml v2.7.0
outputType      : xml
filename        : .\bigapple.png
fontSize        : 32
charsetFile     : bigapple.txt
textureSize     : 480,480
texturePadding  : 1
border          : 0
distanceRange   : 1
fieldType       : msdf
roundDecimal    : 0
vector          : false
reuse           : false
smartSize       : false
pot             : false
square          : false
rot             : false
rtl             : false
fontFile        : bigapple.ttf
========================================
Generating 2%|█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░| (9/382) 0snode:internal/errors:867
  const err = new Error(message);
              ^

Error: Command failed: "C:\Users\Win10\AppData\Roaming\npm\node_modules\msdf-bmfont-xml\bin\win32\msdfgen.exe" msdf -fon
    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12) {
  code: 1,
  killed: false,
  signal: null,
  cmd: '"C:\\Users\\Win10\\AppData\\Roaming\\npm\\node_modules\\msdf-bmfont-xml\\bin\\win32\\msdfgen.exe" msdf -format '}

Node.js v18.16.0