简体   繁体   English

我在运行反应应用程序时遇到了这个问题。 如何解决这个问题?

[英]I am facing this problem while running react application. how to solve this issue?

Error: Cannot find module 'E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\babel-loader\lib\index.js' Require stack:错误:找不到模块 'E:\10th term\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\babel-loader\lib\index.js' 需要堆栈:

  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\loader-runner\lib\loadLoader.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\loader-runner\lib\loadLoader.js
  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\loader-runner\lib\LoaderRunner.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\loader-runner\lib\LoaderRunner.js
  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\webpack\lib\NormalModule.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\webpack\lib\NormalModule.js
  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\webpack-manifest-plugin\dist\index.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\webpack-manifest-plugin\dist\index.js
  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\react-scripts\config\webpack.config.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\react-scripts\config\webpack.config.js
  • E:\10th semester\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\react-scripts\scripts\build.js E:\第十学期\oop2(C#)\After_Semester\react6\my-app\demo\node_modules\react-scripts\scripts\build.js

Looks like you have missiong dependencies.看起来你有任务依赖。 Open terminal in root of your project and run command npm install .在项目的根目录中打开终端并运行命令npm install It will fix your issue.它将解决您的问题。

There might be dependencies that are not installed yet.可能存在尚未安装的依赖项。 Try checking your package.json file and check if all dependencies are listed there.尝试检查您的 package.json 文件并检查是否所有依赖项都列在那里。 If not, try running npm install .如果没有,请尝试运行npm install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在 React Hooks 中使用过滤器时遇到问题,我该如何解决这个问题? - I am having problem while using filter in react Hooks,how can i solve this issue? 我在运行 reactjs 应用程序时遇到问题。下面给出的是错误 - I am facing a problem while running reactjs application.Given below is the error 反应脚本的问题。 不启动应用程序。 (依赖问题) - Problem with react-scripts. Does not starting the application. (Dependency issue) 我在通过 NPM 部署 React App 时遇到了一些漏洞问题 - I am facing some vulnerabilities issue while deploying React App via NPM 我面临安装 react-currency-format 的问题? - I am facing the problem to install react-currency-format? "我在 React Native 中遇到了关于异步存储的问题" - i am facing a problem regarding async storage in react native 循环遍历动态表时遇到问题 - I am facing an issue while looping through a dynamic table 我正面临 react-query Devtools 的问题 - i am facing issue with the react-query Devtools 我在运行摩卡测试时遇到问题。 如何解决这个问题? - I'm facing problem on running Mocha test. how to resolve this issue? 在运行以下简单的react.js应用程序时,我遇到的错误很少。 - I am getting few errors while running following simple react.js application .. any idea?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM