Coder Social home page Coder Social logo

npm run dev error about embedai HOT 7 OPEN

samuraigpt avatar samuraigpt commented on September 23, 2024
npm run dev error

from embedai.

Comments (7)

anxiufang-tal avatar anxiufang-tal commented on September 23, 2024 1

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'

from embedai.

Anil-matcha avatar Anil-matcha commented on September 23, 2024

Please upgrade your nodejs version

from embedai.

githubnoobieme avatar githubnoobieme commented on September 23, 2024

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'

from embedai.

zxlisrich avatar zxlisrich commented on September 23, 2024

Please upgrade your nodejs version

I have used the latest node but still report this error

from embedai.

bobathefetts avatar bobathefetts commented on September 23, 2024

you need to run this "pip install flask"

from embedai.

sardosan avatar sardosan commented on September 23, 2024

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?

from embedai.

sardosan avatar sardosan commented on September 23, 2024

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)

from embedai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.