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

180
Vistas
Uncaught Script Error for JS-Big-Decimal?

I am new to JS and Node so I'm kind of confused with how importing modules work. I am trying to import js-big-decimal into my project hosted on Google App Engine, and so I originally tried this:

var bigDecimal = require('js-big-decimal')

Which gave me an error. I then tried this according to the requireJS documentation:

require(['require', 'js-big-decimal'], function (require) {
    var bigDecimal = require('js-big-decimal');
});

And I am now getting the error

require.js:1961 GET xxxxxxx.uk.r.appspot.com/js-big-decimal.js net::ERR_ABORTED 404

and

require.js:168 Uncaught Error: Script error for "js-big-decimal"
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.js:168)
    at HTMLScriptElement.onScriptError (require.js:1738)

According to the docs this is due to a syntax error or something somewhere, but I'm not sure where exactly that could even be. What is the proper syntax for what I'm trying to do?

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