Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

147
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda