reactjs - npm start not working in react 给出错误 npm update check failed
问题描述
我正在使用反应,当我使用 npm start 打开一个窗口来检查我的反应应用程序时,它给出了错误:
npm update check failed │ │ Try running with sudo or get access │ │ to the local update config store via │ │ sudo chown -R $USER:$(id -gn $USER) C:\Users\nikhil\.config │
我没有得到什么问题请帮忙。
解决方案
你可以试试这个对我来说很好:
sudo rm -rf node_modules/
sudo yarn install
sudo npm start