The css file cannot be generated and an error is reported
demo:

svgtofont({
    src: icons_pro, // svg path
    dist: path.resolve(process.cwd(), `fonts/${project.name}`), // output path
    styleTemplates: path.resolve(process.cwd(), `styles/${project.name}`), // file templates path (optional)
    fontName: 'fs-ava', // font name
    classNamePrefix: 'ava-',
    // css: true, // Create CSS files.
    css: {
      fontSize: true,
      output: path.resolve(process.cwd(), `styles/${project.name}`),
      cssPath: '../styles/',
      include: '\\.(css)$',
      fileName: 'fs-ava-styles',
    },
    startUnicode: 0xea01, // unicode start number
    svgicons2svgfont: {
      fontHeight: 1024,
      normalize: true
    },
    // website = null, no demo html files
})

result:

Font created
SUCCESS SVG font successfully created!
  ╰┈▶./fonts/75255_zhangj/fs-ava.svg
GET /ava/projects 304 59.558 ms - -
SUCCESS TTF font successfully created!
  ╰┈▶ ./fonts/75255_zhangj/fs-ava.ttf
SUCCESS EOT font successfully created!
  ╰┈▶ ./fonts/75255_zhangj/fs-ava.eot
GET /ava/projects/icons/3 200 30.489 ms - 4998
SUCCESS WOFF font successfully created!
  ╰┈▶ ./fonts/75255_zhangj/fs-ava.woff
SUCCESS WOFF2 font successfully created!
  ╰┈▶ ./fonts/75255_zhangj/fs-ava.woff2
SvgToFont:CLI:ERR: Error: Unmatched selector: ="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1705041684707" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1228" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M976.474353 571.934118c-8.402824 10.24-209.588706 249.946353-464.474353 249.946353S55.928471 582.174118 47.495529 571.934118l-17.468235-21.112471 17.468235-21.142588c8.432941-10.209882 209.588706-249.916235 464.504471-249.916235s456.071529 239.706353 464.474353 249.916235l17.468235 21.142588-17.468235 21.112471zM512 344.816941c-184.470588 0-343.943529 149.564235-397.492706 205.974588 53.669647 56.350118 213.443765 206.034824 397.492706 206.034824 184.470588 0 343.943529-149.564235 397.492706-205.974588-53.669647-56.380235-213.443765-206.034824-397.492706-206.034824z m0 346.955294c-75.203765 0-136.372706-63.247059-136.372706-140.950588s61.168941-140.950588 136.372706-140.950588 136.372706 63.247059 136.372706 140.950588-61.199059 140.950588-136.372706 140.950588z m0-216.847059c-40.478118 0-73.426824 34.063059-73.426824 75.926589s32.948706 75.896471 73.426824 75.89647 73.426824-34.032941 73.426824-75.89647-32.948706-75.926588-73.426824-75.926589z" fill="#00A0E9" p-id="1229"></path></svg>
    at parse (./node_modules/css-what/lib/commonjs/parse.js:85:15)
    at Object.select (./node_modules/cheerio-select/lib/index.js:191:68)
    at LoadedCheerio.find (./node_modules/cheerio/lib/api/traversing.js:90:30)
    at initialize (./node_modules/cheerio/lib/load.js:156:34)
    at ./node_modules/svgtofont/lib/utils.js:238:29
    at Array.forEach (<anonymous>)
    at ./node_modules/svgtofont/lib/utils.js:235:37
    at new Promise (<anonymous>)
    at createSvgSymbol (./node_modules/svgtofont/lib/utils.js:234:12)
    at exports.default (./node_modules/svgtofont/lib/index.js:123:43)
done!