create-react-app

[email protected] Install Fails with Yarn

[email protected] Install Fails with Yarn Question: The following install fails: $ sudo yarn add -P [email protected] Here’s the error: gyp ERR! configure error gyp ERR! stack Error: Python executable “/anaconda3/bin/python” is v3.6.4, which is not supported by gyp. gyp ERR! stack You can pass the –python switch to point to Python >= v2.5.0 & < …

Total answers: 1

Serving a front end created with create-react-app with Flask

Serving a front end created with create-react-app with Flask Question: I have a Flask back-end with API routes which are accessed by a React single page application created using create-react-app. When using the create-react-app dev server, my Flask back end works. I would like to serve the built (using npm run build) static React app …

Total answers: 5