如何修复 ./node_modules/prop-types/node_modules/react-is/index.js 中的错误

问题描述 投票:0回答:0

安装纱线并运行命令后

yarn 添加 react-router-dom

我的终端开始出现错误

./node_modules/prop-types/node_modules/react-is/index.js 中的错误 模块构建失败(来自 ./node_modules/source-map-loader/dist/cjs.js): 错误:ENOENT:没有这样的文件或目录,打开 'C:\xampp\htdocs\digi-learning ode_modules\prop 类型 ode_modules eact-is\index.js'

webpack 编译有 1 个错误

我想我应该注意到我还安装了 react-bootstrap 运行命令

npm 安装反应引导程序引导程序

我正在学习对 2020 年创建的视频资源做出反应,所以我知道自创建资源以来发生了很多变化。我会很感激我能得到的所有帮助。enter image description here

reactjs npm react-router react-bootstrap yarn-workspaces
© www.soinside.com 2019 - 2024. All rights reserved.