1 运行npm run eject报错
报错的意思就是你没提交改动不能
run eject
-
git add . -
git commit -m "init"
就可以了!
2 运行npm run 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.)
-
去这的路径找一下
C:Usersadministrator ode_moduleswebpack -
如果不是你自己安装的,请删除此文件夹
C:Usersloicq ode_modules -
删除项目中的
node_modules -
重新
npm install
就可以了!