question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning about deprecated sub-dep 'har-validator' when installing cypress

See original GitHub issue

Current behavior:

warning cypress > @cypress/request > har-validator@5.1.5: this library is no longer supported

Desired behavior:

No warning

Test code to reproduce

yarn install

Versions

Cypresss 4.12.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
bahmutovcommented, Sep 17, 2020

Kind of annoying to see it

$ npm i -D cypress
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> cypress@5.2.0 postinstall /Users/gleb/git/cypress-test-tiny/node_modules/cypress
> node index.js --exec install

+ cypress@5.2.0
2reactions
mikedlrcommented, Nov 8, 2021
  • take the docker image docker.io/cypress/included:8.7.0
  • use --entrypoint to run a shell in the image
  • run npm install cypress --save-dev
  • read output
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

expected output: none

Read more comments on GitHub >

github_iconTop Results From Across the Web

When installing cypress in npm, I am seeing "npm WARN ...
C:\revprojects\CypressAutomation>npm install cypress --save-dev npm WARN deprecated har-validator@5.1.5: this library is no longer supported.
Read more >
Twitter \ first-timers-only على تويتر: "Warning about deprecated sub ...
Warning about deprecated sub-dep 'har-validator' when installing cypress ... Desired behavior: No warning Test code to reproduce yarn install Versio.
Read more >
npm idealtree already exists - You.com | The AI Search ...
When I try to do npm install in the project folder I get these errors: npm WARN config global `--global`, `--local` are deprecated....
Read more >
cypress-io/cypress - Gitter
i get SUCCESS: Specified value was saved. but when i run the following command npm i cypress@5.4.0 -D. `npm WARN deprecated har-validator@5.1 ...
Read more >
har-validator - npm
Start using har-validator in your project by running `npm i ... This package has been deprecated ... Install. npm install har-validator ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found