Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!