SamurAIGPT / EmbedAI

An app to interact privately with your documents using the power of GPT, 100% privately, no data leaks
https://www.thesamur.ai/?utm_source=github&utm_medium=link&utm_campaign=github_privategpt
MIT License
2.79k stars 301 forks source link

npm run dev error #45

Open anxiufang-tal opened 1 year ago

anxiufang-tal commented 1 year ago

privategpt@0.1.0 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)

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' }

Anil-matcha commented 1 year ago

Please upgrade your nodejs version

anxiufang-tal commented 1 year ago

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'

githubnoobieme commented 1 year ago

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'
zxlisrich commented 1 year ago

Please upgrade your nodejs version

I have used the latest node but still report this error

bobathefetts commented 1 year ago

you need to run this "pip install flask"

sardosan commented 1 year ago

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

privategpt@0.1.0 dev next dev

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 commented 1 year ago

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)