EmbedAI icon indicating copy to clipboard operation
EmbedAI copied to clipboard

npm run dev error

Open anxiufang-tal opened this issue 1 year ago • 7 comments

[email protected] dev next dev

(node:58556) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time (Use node --trace-warnings ... to show where the warning was created)

  • ready started server on 0.0.0.0:3000, url: http://localhost:3000 (node:58557) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time (Use node --trace-warnings ... to show where the warning was created) node:events:368 throw er; // Unhandled 'error' event ^

Error: listen EADDRNOTAVAIL: address not available 10.33.42.50 at Server.setupListenHandle [as _listen2] (node:net:1317:21) at listenInCluster (node:net:1382:12) at GetAddrInfoReqWrap.doListen [as callback] (node:net:1520:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8) Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1361:8) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'EADDRNOTAVAIL', errno: -49, syscall: 'listen', address: '10.33.42.50' }

anxiufang-tal avatar Jun 08 '23 08:06 anxiufang-tal

Please upgrade your nodejs version

Anil-matcha avatar Jun 09 '23 18:06 Anil-matcha

fine,but when i run python3 privateGPT.py

MacBook-Pro:server user$ python3 privateGPT.py Traceback (most recent call last): File "privateGPT.py", line 1, in from flask import Flask,jsonify, render_template, flash, redirect, url_for, Markup, request ModuleNotFoundError: No module named 'flask'

anxiufang-tal avatar Jun 12 '23 03:06 anxiufang-tal

I have the same issue... I can´t start privateGPT on my windows client due to same error

PS C:\Users\Artur\Source\Repos\privateGPT\server> python C:\Users\Artur\Source\Repos\privateGPT\server\privateGPT.py
Traceback (most recent call last):
  File "C:\Users\Artur\Source\Repos\privateGPT\server\privateGPT.py", line 1, in <module>
    from flask import Flask,jsonify, render_template, flash, redirect, url_for, Markup, request
ModuleNotFoundError: No module named 'flask'

githubnoobieme avatar Jun 12 '23 09:06 githubnoobieme

Please upgrade your nodejs version

I have used the latest node but still report this error

zxlisrich avatar Jun 15 '23 09:06 zxlisrich

you need to run this "pip install flask"

bobathefetts avatar Jul 08 '23 21:07 bobathefetts

I have encountered an issue running "npm run dev". It is not an error but after running the command it returns me that:

_C:\Users\matte\Documenti\github\EmbedAI\client> npm run dev

[email protected] dev next dev

  • ready started server on 0.0.0.0:3000, url: http://localhost:3000
  • event compiled client and server successfully in 623 ms (306 modules)
  • wait compiling...
  • event compiled client and server successfully in 232 ms (306 modules)_

and after this, the cmd doesn't respond anymore and stops working while underscore is pulsing whitout the possibility to input anything

Any suggestions?

sardosan avatar Oct 05 '23 07:10 sardosan

sorry also after have installed flask using pip, cmd returns me that: ImportError: cannot import name 'Markup' from 'flask' (C:\Program Files\Python312\Lib\site-packages\flask_init_.py)

sardosan avatar Oct 05 '23 07:10 sardosan