dpgaspar / Flask-AppBuilder

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
BSD 3-Clause "New" or "Revised" License
4.66k stars 1.36k forks source link

unable to run react app in react-rest-api #1722

Closed forestlzj closed 2 years ago

forestlzj commented 2 years ago

Environment

Flask-Appbuilder version: 3.3.3 npm version: 6.14.15 pip freeze output: apispec==3.3.0 attrs==19.1.0 Babel==2.6.0 backcall==0.2.0 chardet==4.0.0 click==8.0.1 colorama==0.4.1 decorator==5.1.0 defusedxml==0.5.0 dnspython==1.16.0 email-validator==1.0.5 et-xmlfile==1.1.0 Flask==1.1.1 Flask-AppBuilder==3.3.3 Flask-Babel==1.0.0 Flask-Excel==0.0.7 Flask-JWT-Extended==3.18.0 Flask-Login==0.4.1 Flask-OpenID==1.3.0 Flask-SQLAlchemy==2.4.0 Flask-WTF==0.14.2 idna==2.9 importlib-metadata==4.8.1 ipython==7.28.0 itsdangerous==1.1.0 jedi==0.18.0 Jinja2==2.10.1 jsonschema==3.0.1 lml==0.1.0 MarkupSafe==1.1.1 marshmallow==3.5.1 marshmallow-enum==1.5.1 marshmallow-sqlalchemy==0.23.0 matplotlib-inline==0.1.3 numpy==1.21.2 openpyxl==3.0.9 pandas==1.3.3 parso==0.8.2 pickleshare==0.7.5 Pillow==8.3.2 prison==0.2.1 prompt-toolkit==3.0.20 pyexcel==0.6.7 pyexcel-io==0.6.4 pyexcel-webio==0.1.4 Pygments==2.10.0 PyJWT==1.7.1 pyrsistent==0.14.11 python-dateutil==2.8.0 python3-openid==3.1.0 pytz==2018.9 PyYAML==5.1 six==1.12.0 SQLAlchemy==1.3.1 SQLAlchemy-Utils==0.33.9 texttable==1.6.4 traitlets==5.1.0 typing-extensions==3.10.0.2 wcwidth==0.2.5 Werkzeug==0.15.5 WTForms==2.2.1 zipp==3.6.0

Describe the expected results

Tell us what should happen. react app should start successfully

Paste a minimal example that causes the problem.

Describe the actual results

Tell us what happens instead.

after running

react-fab@1.0.0 start D:\Flask-AppBuilder-master\examples\react-rest-api\app\static npm start

There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

"babel-eslint": "9.0.0"

Steps to reproduce

running below commands in react-rest-api\app\static

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Feel free to reopen it if it's still relevant to you. Thank you