- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
升级到 angular7 后,azure 中的构建在“npm install”步骤中失败。在本地一切正常。
我已经尝试过:
但我仍然从“npm install”步骤中收到以下错误输出。(请注意,代理使用的版本与默认值设置的版本不同)
我的最后一个选择(据我所知)是删除整个服务并创建一个同名的新服务 - 但我想避免这种情况..
关于输出中的最后一个错误(npm ERR!404 Not Found: [email protected] ),我不知道这是什么,但它没有包含在我的 package.json 中。我相信这可能是 cli 包正在使用的东西?
2018-12-11T21:46:07.1672265Z ##[section]Starting: npm install
2018-12-11T21:46:07.1675810Z ==============================================================================
2018-12-11T21:46:07.1675868Z Task : npm
2018-12-11T21:46:07.1675929Z Description : Run an npm command
2018-12-11T21:46:07.1675961Z Version : 0.2.27
2018-12-11T21:46:07.1675996Z Author : Microsoft Corporation
2018-12-11T21:46:07.1676309Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613746)
2018-12-11T21:46:07.1676342Z ==============================================================================
2018-12-11T21:46:07.7212998Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" config list"
2018-12-11T21:46:25.4985558Z ; cli configs
2018-12-11T21:46:25.4985985Z metrics-registry = "https://registry.npmjs.org/"
2018-12-11T21:46:25.4986124Z scope = ""
2018-12-11T21:46:25.4986277Z user-agent = "npm/6.4.1 node/v10.13.0 win32 x64"
2018-12-11T21:46:25.4986429Z
2018-12-11T21:46:25.4986565Z ; environment configs
2018-12-11T21:46:25.4986753Z cache = "C:\\npm\\cache"
2018-12-11T21:46:25.4986863Z prefix = "C:\\npm\\prefix"
2018-12-11T21:46:25.4986958Z
2018-12-11T21:46:25.4987093Z ; builtin config undefined
2018-12-11T21:46:25.4987188Z
2018-12-11T21:46:25.4987354Z ; node bin location = C:\Program Files\nodejs\node.exe
2018-12-11T21:46:25.4987583Z ; cwd = D:\a\1\s\src\Fightplan_v1
2018-12-11T21:46:25.4987728Z ; HOME = C:\Users\VssAdministrator
2018-12-11T21:46:25.4987911Z ; "npm config ls -l" to show all defaults.
2018-12-11T21:46:25.4988084Z
2018-12-11T21:46:25.5112108Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files\nodejs\npm.cmd" install"
2018-12-11T21:47:30.4103336Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\uglify-es-2690efe8\package.json'
2018-12-11T21:47:30.5364487Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\uglify-es-2690efe8\LICENSE'
2018-12-11T21:47:30.6517880Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\uglify-es-2690efe8\README.md'
2018-12-11T21:47:30.8043664Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\ajv-dc7fc88a\lib\.DS_Store'
2018-12-11T21:47:31.0212461Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\webpack-subresource-integrity-6d084f0d\examples\webpack4-contenthash-issue-83\README.md'
2018-12-11T21:47:31.0214504Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\ajv-dc7fc88a\lib\ajv.d.ts'
2018-12-11T21:47:31.1252776Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\webpack-subresource-integrity-6d084f0d\examples\webpack4-contenthash-issue-83\index.js'
2018-12-11T21:47:31.1989574Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\ajv-dc7fc88a\lib\ajv.js'
2018-12-11T21:47:31.3153484Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\webpack-subresource-integrity-6d084f0d\examples\mini-css-extract-plugin\dist\index.js'
2018-12-11T21:47:31.4413192Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\ajv-dc7fc88a\lib\cache.js'
2018-12-11T21:47:31.4418678Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\moment-b4a9e1a1\src\lib\parse\regex.js'
2018-12-11T21:47:31.6315506Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-gyp-6d42b3cc\gyp\tools\Xcode\Specifications\gyp.pbfilespec'
2018-12-11T21:47:31.6315920Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\moment-b4a9e1a1\src\lib\parse\token.js'
2018-12-11T21:47:31.6432211Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\body-parser-5b44689c\lib\types\json.js'
2018-12-11T21:47:31.6516115Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-gyp-6d42b3cc\gyp\tools\Xcode\Specifications\gyp.xclangspec'
2018-12-11T21:47:31.6572566Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\unique-filename-a895a9ae\coverage\__root__\index.html'
2018-12-11T21:47:31.6605443Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\json-schema-traverse-23dbd864\spec\fixtures\schema.js'
2018-12-11T21:47:31.7477508Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\unique-filename-a895a9ae\coverage\__root__\index.js.html'
2018-12-11T21:47:31.7575572Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\body-parser-5b44689c\lib\types\raw.js'
2018-12-11T21:47:31.7740463Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\compiler-cli-3421191e\src\ngtsc\host\src\reflection.d.ts'
2018-12-11T21:47:31.7761304Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\json-schema-traverse-23dbd864\spec\index.spec.js'
2018-12-11T21:47:31.7898919Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\body-parser-5b44689c\lib\types\text.js'
2018-12-11T21:47:31.8368271Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\compiler-cli-3421191e\src\ngtsc\host\src\reflection.js'
2018-12-11T21:47:31.8425215Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\body-parser-5b44689c\lib\types\urlencoded.js'
2018-12-11T21:47:31.9064194Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\datalist\datalist.d.ts'
2018-12-11T21:47:31.9116674Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\datalist\datalist.js'
2018-12-11T21:47:31.9175038Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\datalist\datalist.js.map'
2018-12-11T21:47:31.9218406Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\datalist\datalist.metadata.json'
2018-12-11T21:47:32.0569111Z npm WARN tar ENOENT: no such file or directory, lstat 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components'
2018-12-11T21:47:32.6149587Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-sass-e876628d\src\libsass\src\utf8\checked.h'
2018-12-11T21:47:33.6779419Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\gmap\gmap.d.ts'
2018-12-11T21:47:33.6899685Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\gmap\gmap.js'
2018-12-11T21:47:33.7021864Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\gmap\gmap.js.map'
2018-12-11T21:47:33.7105126Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\components\gmap\gmap.metadata.json'
2018-12-11T21:47:33.7420473Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\common-66e6ce23\esm5\src\pipes\deprecated\date_pipe.js'
2018-12-11T21:47:33.7477117Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular-devkit\schematics-b141a7e4\tasks\tslint-fix\test\rules\customRuleRule.js'
2018-12-11T21:47:33.7574105Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\common-66e6ce23\esm5\src\pipes\deprecated\index.js'
2018-12-11T21:47:33.7578418Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular-devkit\schematics-b141a7e4\tasks\tslint-fix\test\run-task.d.ts'
2018-12-11T21:47:33.7583385Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\common-66e6ce23\esm5\src\pipes\deprecated\intl.js'
2018-12-11T21:47:33.7583560Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular-devkit\schematics-b141a7e4\tasks\tslint-fix\test\run-task.js'
2018-12-11T21:47:33.7763116Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\tslint-63def258\lib\verify\lines.d.ts'
2018-12-11T21:47:33.7764349Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\tslint-63def258\lib\verify\lines.js'
2018-12-11T21:47:33.8244897Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-sass-f11b263c\test\fixtures\input-directory\sass\nested\three.scss'
2018-12-11T21:47:33.8255514Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-sass-f11b263c\test\fixtures\input-directory\sass\one.scss'
2018-12-11T21:47:33.8283952Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-sass-f11b263c\test\fixtures\input-directory\sass\two.scss'
2018-12-11T21:47:33.8300811Z npm WARN tar ENOENT: no such file or directory, lstat 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\node-sass-f11b263c\test\fixtures'
2018-12-11T21:47:33.9502082Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@schematics\angular-5e588af5\universal\files\src\__main@stripTsExtension__.ts'
2018-12-11T21:47:34.9391213Z npm WARN tar ENOENT: no such file or directory, lstat 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@schematics\angular-5e588af5\universal\files\src'
2018-12-11T21:47:34.9391576Z npm WARN tar ENOENT: no such file or directory, lstat 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\@angular\core-dcf43933\esm5\src\render3\interfaces'
2018-12-11T21:47:34.9393379Z npm WARN tar ENOENT: no such file or directory, open 'D:\a\1\s\src\Fightplan_v1\node_modules\.staging\primeng-e2ced65b\resources\components\toast\toast.css'
2018-12-11T21:47:36.4859640Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="513437373432252211677f607f63" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4859826Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="187d766c716c61582e3629362a" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4859978Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0d7f627879687f207e79627f684d3b233c233f" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/common@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4860036Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="087a677d7c6d7a257b7c677a6d483e2639263a" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4860119Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="daa8b5afaebfa8f7a9aeb5a8bf9aecf4ebf4e8" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/router@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4860193Z npm WARN @ngrx/<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4132352e332401776f706f73" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4860248Z npm WARN <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2c4d465a014749555b435e485f6c1f021e021c" rel="noreferrer noopener nofollow">[email protected]</a> requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
2018-12-11T21:47:36.4860313Z npm WARN @1.0.0 No description
2018-12-11T21:47:36.4860359Z npm WARN @1.0.0 No repository field.
2018-12-11T21:47:36.4860411Z npm WARN The package jquery is included as both a dev and production dependency.
2018-12-11T21:47:36.4860686Z
2018-12-11T21:47:36.4860757Z npm ERR! code E404
2018-12-11T21:47:36.4860803Z npm ERR! 404 Not Found: <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a7cfc6d58ad1c6cbcec3c6d3c8d5e79289968995" rel="noreferrer noopener nofollow">[email protected]</a>
2018-12-11T21:47:36.5420339Z
2018-12-11T21:47:36.5421133Z npm ERR! A complete log of this run can be found in:
2018-12-11T21:47:36.5421305Z npm ERR! C:\npm\cache\_logs\2018-12-11T21_47_36_496Z-debug.log
2018-12-11T21:47:36.6035543Z ##[error]npm failed with error: C:\Program Files\nodejs\npm.cmd failed with return code: 1
2018-12-11T21:47:36.6062198Z ##[section]Finishing: npm install
最佳答案
经过大量测试后,我发现应用程序中存在一个旧的 package-lock.json
。
删除package-lock.json
并运行新版本解决了问题..
关于azure - npm 错误! 404 未找到 : har-validator@5. 1.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53732973/
有人可以建议如何通过linux中的命令行从给定的url生成har文件吗?非常感谢使用的详细工具和指南。 谢谢 最佳答案 您可以使用 phantomjs对于这项工作。 phantomjs example
所以,下面是我试用 Browsermob 代理的基本代码,以及生成的输出。问题出在输出上,它似乎 (1) 数量不完整,(2) 不像我在开发工具(Firefox 或 Chrome)中手动检查网络统计信息
这是我在 hdfs 上的文件: hadoop fs -ls / Found 5 items -rw-r--r-- 3 hadoop supergroup 25 2016-04-18
是否有任何 HAR(Http 存档)的解析器工具可以生成页面加载时间的 csv 或 excel 输出?我知道有 HAR 查看器,但我需要将输出作为 csv 进行绘图。 注意:编写解析器并生成 csv
背景 我正在开发一种工具,该工具可以让用户上传 HAR 文件并不断重复播放它们并收集分析数据,例如随时间变化的平均速度、服务可用性等。我在这里已经有了核心代码,它可以获取 Har 文件并生成在平面文件
在下图中,我想要网页的总响应时间。我似乎无法在文件中找到它 sample HAR file ,即本例中的 38.79s。有谁知道如何得到这个? 我将使用 Selenium 以及 Firebug 和 N
我们有一家软件公司为我们的项目开发代码,.NET Web 服务 (WCF),我们还支付了测试工具的费用,该测试工具将作为单独的计费任务按日收费。我刚刚加入公司,正在回顾我们从软件公司获得的成果,想知道
在我的项目中,我有一些 JavaScript 负责跟踪用户操作以优化页面布局。当用户单击某些内容(包括指向其他页面的链接)时,就会执行这些调用。 我已经用 Java 编写并基于 Selenium
这是我第一次来到 Stack,也是我第一次接触 Python。我正在处理 HAR-RV 模型,尝试运行这个方程,但没有成功将我的操作存储在数组上 这是我要计算的内容: r_[t,i] = Y_[t,i
我总是能够生成 .har 文件来帮助开发人员解决问题。但是最近我为此得到了一个空文件!附言我使用 Chrome。 最佳答案 这是否在所有网站上都会发生?如果没有,请耐心等待文件导出。有时有很多请求需要
总的来说,我了解如何使用 Scrapy 和 x-path 来解析 html。但是,我不知道如何抓取 HAR 数据。 mport scrapy from scrapy_splash import Spl
环境 Windows 10 Chrome 版本 66.0.3359.181(官方版本)(64 位) 手头的问题 出于调试目的,我记录网络流量并将其保存为 HAR 文件。 当生成的 HAR 文件很大 (
我熟悉如何使用 Google Chrome Web Inspector 手动将网页保存为包含内容的 HAR 文件。我想自动化这个。 在搜索自动生成 HAR 文件的工具时,我找到了一些解决方案,但它们都
是否有一种工具可以提取 HTTP 响应中出现的文档并将其转储到文件系统,最好使用原始 HTTP 请求中的路径和文件名? 最佳答案 https://github.com/outersky/har-too
尝试在某些测试页面 localhost:8000 上捕获 http header ,而 HAR 文件在 entry 部分中似乎不包含任何内容。 我的代码: BrowserMob
我按照 Aqueduct 教程创建测试,但缺少一个我迫切需要的示例;我无法使用我的 Controller 测试文件上传端点。 我已经实现了这样的 Controller : class FileCont
我正在使用 TAP::Harness在 perl 中是这样的: $harness = TAP::Harness->new({ formatter_class => 'TAP::Form
这是我目前使用 TAP 的测试工具: use TAP::Harness; my $harness = TAP::Harness->new(); $harness->runtests(['sequent
问题是: Manipulating external state in a test file reduces the possible parallelism of your test suite.
我应该在家庭作业中使用测试工具来检查模块是否正常工作。到目前为止我只做了 2 次测试,但是当我调试程序时,它要求我输入而不是使用我在代码中提供的内容。我做错了什么? void retirement_e
我是一名优秀的程序员,十分优秀!