Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

135
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda