Integration of React framework and Flask framework

  flask, node.js, npm, python-3.x

Hello I am trying to configure and integrate react with Flask framework, due to this I have edited the package.json file to add custom command for running both react frontend and flask backend.

Here is a section I edited on package.json file:

  "scripts": {
    "start": "react-scripts start",
    "start-app": "cd app && venv/bin/flask run --no-debugger",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"

I added start-app .
When I run npm start-app It doesnt run, I get this message:

Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    clean-install, clean-install-test, completion, config,
    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
    edit, explore, fund, get, help, help-search, hook, i, init,
    install, install-ci-test, install-test, it, link, list, ln,
    login, logout, ls, org, outdated, owner, pack, ping, prefix,
    profile, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,

npm <command> -h  quick help on <command>
npm -l            display full usage info
npm help <term>   search for help on <term>
npm help npm      involved overview

Specify configs in the ini-formatted file:
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

[email protected] C:Program Files (x86)nodejsnode_modulesnpm

Did you mean this?

I am not able to understand why its not able to get start-app.
Note: I am using VS code on windows 10

Source: Python-3x Questions