Skip to content

SyntaxError: Unexpected character "N" at index 42 #46

@Clex1o1

Description

@Clex1o1
Generating font kit from 9 SVG icons
events.js:167
      throw er; // Unhandled 'error' event
      ^

SyntaxError: Unexpected character "N" at index 42.
    at SVGPathDataParser._transform (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/src/SVGPathDataParser.js:461:28)
    at SVGPathDataParser.Transform._read (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    at SVGPathDataParser.Transform._write (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_transform.js:147:83)
    at doWrite (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_writable.js:313:64)
    at writeOrBuffer (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_writable.js:302:5)
    at SVGPathDataParser.Writable.write (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_writable.js:241:11)
    at Function.SVGPathData.parse (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/src/SVGPathData.js:124:10)
    at new SVGPathData (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/src/SVGPathData.js:4:31)
    at /usr/local/lib/node_modules/icon-font-generator/node_modules/svgicons2svgfont/src/index.js:335:20
    at Array.forEach (<anonymous>)
Emitted 'error' event at:
    at SVGPathDataParser._transform (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/src/SVGPathDataParser.js:461:14)
    at SVGPathDataParser.Transform._read (/usr/local/lib/node_modules/icon-font-generator/node_modules/svg-pathdata/node_modules/readable-stream/lib/_stream_transform.js:159:10)
    [... lines matching original stack trace ...]
    at Array.forEach (<anonymous>)```

npm -v 
6.4.1

node -v
v10.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions