我使用下面的数据无法安装量角器茉莉截图记者命令
- 节点 - v6.11.3
- NPM - 3.10.10
- 量角器 - 5.1.2
当我运行命令
npm install protractor-jasmine2-screenshot-reporter --save-dev
它显示以下错误
no such file or directory, open 'C:\Users\agudla\package.json'
全部输出
C:\Users\agudla>npm install protractor-jasmine2-screenshot-reporter --save-dev
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\agudla\package.json'
C:\Users\agudla
+-- UNMET PEER DEPENDENCY @angular/[email protected]
+-- [email protected]
`-- UNMET PEER DEPENDENCY [email protected]>= 4 < 6
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\agudla\package.json'
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected]>= 4 < 6 but none was installed.
npm WARN agudla No description
npm WARN agudla No repository field.
npm WARN agudla No README data
npm WARN agudla No license field.
谁能帮助我如何解决这个错误。
你可以使用[Cliptor](https://github.com/igniteram/Cliptor.js) - 量角器的交互式cli,它为你设置和下载这些模块。 –