DEV Community

Discussion on: How to connect Flask to ReactJs

Collapse
 
xnerro profile image
Bagus Syr

Hy i'm trying to make this for my experience, but there something error when try 'npm run start-backend' erros is env: ‘/bin/flask’: No such file or directory and i'm using windows, thanks

Collapse
 
nagatodev profile image
Faruq Abdulsalam

Hello Bagus,

Did you install flask after creating your environment? and what did you name the environment folder (venv or env) ?

Collapse
 
abhishek569 profile image
Abhishek-569

Error is because in windows file there is no /bin it is /Scripts just replace your env/bin/flask to env/Scripts/flask

Collapse
 
sandipswain profile image
Sandip Swain

Still showing the same error