Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 构建应用程序时未找到多个错误模块_Angular_Npm_Node Modules - Fatal编程技术网

Angular 构建应用程序时未找到多个错误模块

Angular 构建应用程序时未找到多个错误模块,angular,npm,node-modules,Angular,Npm,Node Modules,我有一个角度项目,使用VisualStudio代码(今天更新,如果这很重要)。在更新之前,应用程序正在工作,但几个小时前,当我尝试构建项目时,我在下面看到了这些错误 我已经删除了node_modules文件夹,并再次运行了npm安装,但我一直收到相同的错误。节点_模块文件夹已存在 以下是我的angular.json值: “private”:正确, “依赖项”:{ “@angular/animations”:“^6.0.3”, “@angular/common”:“^6.0.3”, “@angu

我有一个角度项目,使用VisualStudio代码(今天更新,如果这很重要)。在更新之前,应用程序正在工作,但几个小时前,当我尝试构建项目时,我在下面看到了这些错误

我已经删除了node_modules文件夹,并再次运行了npm安装,但我一直收到相同的错误。节点_模块文件夹已存在

以下是我的angular.json值:

“private”:正确,
“依赖项”:{
“@angular/animations”:“^6.0.3”,
“@angular/common”:“^6.0.3”,
“@angular/compiler”:“^6.0.3”,
“@angular/core”:“^6.0.3”,
“@angular/forms”:“^6.0.3”,
“@angular/http”:“^6.0.3”,
“@angular/platform浏览器”:“^6.0.3”,
“@angular/platform browser dynamic”:“^6.0.3”,
“@angular/router”:“^6.0.3”,
“angularfire2”:“^5.0.0-rc.11”,
“引导”:“^4.1.3”,
“核心js”:“^2.5.4”,
“firebase”:“^5.4.0”,
“firebase管理员”:“^6.0.0”,
“lodash”:“^4.17.10”,
“ngx toastr”:“^9.0.2”,
“节点模块”:“^1.0.1”,
“rxjs”:“^6.0.0”,
“toastr”:“^2.1.4”,
“zone.js”:“^0.8.26”
},
“依赖性”:{
“@angular devkit/build angular”:“~0.6.8”,
“@angular/cli”:“~6.0.8”,
“@angular/compiler cli”:“^6.0.3”,
“@angular/language service”:“^6.0.3”,
“@types/jasmine”:“~2.8.6”,
“@types/jasminewd2”:“~2.0.3”,
“@types/node”:“~8.9.4”,
“codelyzer”:“~4.2.1”,
“茉莉花芯”:“~2.99.1”,
“jasmine spec reporter”:“~4.2.1”,
“因果报应”:“^3.0.0”,
“卡玛铬发射器”:“~2.2.0”,
“因果报应报道伊斯坦布尔记者”:“~2.0.0”,
“因果报应茉莉”:“~1.1.1”,
“karma jasmine html reporter”:“^0.2.2”,
“量角器”:“^5.4.0”,
“ts节点”:“~5.0.1”,
“tslint”:“~5.9.1”,
“类型脚本”:“~2.7.2”
}

我找到了答案。这些错误似乎来自于从错误路径导入库——在我的例子中是firebase admin