【发布时间】:2018-08-03 04:51:07
【问题描述】:
【问题讨论】:
-
你在使用
create-react-app吗? -
如果您使用的是 create-react-app,请运行 npm install
-
是的,我正在使用 create-react-app,但它一直在工作,直到我安装了 prop-types
-
使其在全球范围内可用。 npm install -g create-react-app
-
做一件事删除node_modules和package-lock.json文件。再次 npm install
标签: reactjs node-modules package.json react-scripts