Missing Script when I run npm start to create React app

前端 未结 9 1300
北荒
北荒 2021-01-01 18:20

I\'m trying to run the React server by running npm start

When I do this I get a missing script error:

λ npm start
npm ERR! missing scrip         


        
9条回答
  •  北海茫月
    2021-01-01 18:35

    global installs of create-react-app are no longer supported.

    do it:

    npm uninstall -g create-react-app

    now do it:

    npm install create-react-app

    now create your app

    npx create-react-app yout-app-name

提交回复
热议问题