Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

145
Views
svgicons2svgfont - Nonwhitespace before first tag

Facing some issue with svgicons2svgfont library. https://www.npmjs.com/package/svgicons2svgfont When running the command npm run icons it does not convert my SVG's to font and it drops me this error:

Error: Non-whitespace before first tag.

And in the start after i run the command it shows me this

ttf2woff2/jssrc/ttf2woff2.js:3 Invalid asm.js: Invalid member of stdlib

My webpack config looks like this

{
    test: /\.svg$/,
    include: [
      path.resolve(SOURCE_ROOT + SVG_ICON_PATH)
    ],
    use: [
      {
        loader: 'file-loader',
        options: {
          name: '[name]-[hash].[ext]',
          outputPath: //correctUrl here,
          publicPath: //correctUrl here
        }
      }
    ]
  }

Checked every open issue that might be related to this one.

Also, tried upgrading the library to latest version and downgrading to some previous versions, nothing helped

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!