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:\Users\administrator\node_modules\webpack
-
如果不是你自己安装的,请删除此文件夹
C:\Users\loicq\node_modules
-
删除项目中的
node_modules
-
重新
npm install
就可以了!
© 著作权归作者所有
举报
相关热门文章
发表评论
0/200