npm run dev error
anxiufang-tal opened this issue · comments
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)
- 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
(Usenode --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'
}
Please upgrade your nodejs version
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'
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'
Please upgrade your nodejs version
I have used the latest node but still report this error
you need to run this "pip install flask"
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
- 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?
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)