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

136
Vistas
cannot install BrainJS on ubuntu 20.04

I am trying to create a neural network using javascript. So, I found brain JS, and I'm following this tutorial.

https://github.com/BrainJS/brain.js#brainjs

First of all, the installation : npm install brain.js But I got warnings

npm WARN deprecated uuid@3.4.0: Please upgrade and errors

npm ERR! path /home/khouloud/node_modules/gl
npm ERR! command failed
npm ERR! command sh -c /tmp/install657645639957.sh

I sow in the internet that these are just warnings and I can skip them

So I use visual studio and I try this code line

const brain = require('brain.js');

I got this Uncaught ReferenceError ReferenceError: brain is not defined

I don't know what is the source of the problem Someone help me !

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