Create React App not installing, showing an error and aborting installation

后端 未结 16 1317
一生所求
一生所求 2021-01-04 13:12

I Reinstalled Node.js and Yarn. Now I am getting this error.

My environment information is:

Node: v8.12.0

NPM: 6.4.1

Yarn: 1.10.1

16条回答
  •  一生所求
    2021-01-04 13:32

    This might help for Linux operating system

    sudo npm install -g npm@latest
    npm install node
    npm init
    npm install -g yarn
    yarn cache clean
    npx create-react-app my-app
    

提交回复
热议问题