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

482
Views
Error de referencia de Clarifai api: el proceso no está definido

Recibo un error de este tipo en npm start en clarifai api [1]: https://i.stack.imgur.com/pHRNz.png

Arranque abierto: 27:

 // Execute the module function try { var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); module = execOptions.module; execOptions.factory.call(module.exports, module, module.exports, execOptions.require); } catch(e) { module.error = e; throw e; } // Flag the module as loaded module.loaded = true; // Return the exports of the module return module.exports; }

y mis detalles de App.js;

 const app = new Clarifai.App({ apiKey: '****', }) /// onButtonSubmit = () => { console.log('click') app.models .predict( '45fb9a671625463fa646c3523a3087d5', 'https://samples.clarifai.com/metro-north.jpg' ) .then( function (response) { console.log(response) }, function (err) { // } ) }

Recibo este error antes de renderizar en console.log. ¿Cuál sería la razón?

¡Feliz día de la codificación! :)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Como se indica en la documentación , debe usar Broserify . Te faltan los globales de NodeJS. Háganos saber si esto no funciona para usted, ya que lamentablemente esta biblioteca no se encuentra actualmente en mantenimiento activo.

about 4 years ago · Juan Pablo Isaza Report
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!