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

209
Vistas
x-spreadsheet Uncaught SyntaxError: Invalid or unexpected token (at index.less:1:1)

I'm working with a javascript library x-spreadsheet and importing it for browser use. During the import it requests a file src/index.less. On the browser console I am getting the error: "Uncaught SyntaxError: Invalid or unexpected token (at index.less:1:1)" Inspecting the file doesn't show any strange characters at that position. I also inspected what my browser received and nothing looks odd:

@css-prefix: x-spreadsheet;
// color
@red-color: #DB2828;
@red-hover-color: #d01919;
@orange-color: #F2711C;

This is my first time working with a .less file. What am I missing here?

about 4 years ago · Santiago Trujillo
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