# Windows Newman installation: "npm WARN deprecated har-validator"

**URL:** <https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [October 21, 2020, 2:20pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972 "2020-10-21T14:20:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankdoylezw](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/frankdoylezw/32/7322_2.png) [@frankdoylezw](https://community.postman.com/u/frankdoylezw)\
**Post date:** [October 21, 2020, 2:20pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/1 "2020-10-21T14:20:11Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi,

When installing Newman via CLI I see the following:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/e/ce6c4b778bbe23be847e2289721a4491d671ef60.png)

Is this a known issue, please?

(Node: v12.13.0,  
npm: 6.12.0,  
Win 10 Enterprise 64 bit)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [October 21, 2020, 3:25pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/2 "2020-10-21T15:25:06Z")

</div>

It’s kinda telling right there…😂

One of the dependencies that Newman uses, is no longer supported. It doesn’t impact how Newman would work for you.

---

<div class="post-metadata">

**Author:** ![frankdoylezw](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/frankdoylezw/32/7322_2.png) [@frankdoylezw](https://community.postman.com/u/frankdoylezw)\
**Post date:** [October 21, 2020, 3:57pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/3 "2020-10-21T15:57:39Z")

</div>

@danny-dainton Admittedly, the message is quite clear and I’d expect that a WARN message about a deprecated dependency should not prevent Newman functioning…except that newman -v results in ‘bash: newman: command not found’.

Is this then just an environment variable issue?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [October 21, 2020, 4:02pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/4 "2020-10-21T16:02:37Z")

</div>

Have you exited the terminal since that was installed?

Is node added as part of the PATH system environment variable?

I have no idea about how you installed node to even begin to tell you what the problem _might_ be. 😃

---

<div class="post-metadata">

**Author:** ![frankdoylezw](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/frankdoylezw/32/7322_2.png) [@frankdoylezw](https://community.postman.com/u/frankdoylezw)\
**Post date:** [October 21, 2020, 4:07pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/5 "2020-10-21T16:07:44Z")

</div>

Node is added to the system environment variables just fine:

![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/e/3ed36d13899a6a01c6f97744ea31bb92b31bd36b.png)

How would that affect newman? Presumably it is newman that can’t be found, not node, no?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [October 21, 2020, 4:16pm UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/6 "2020-10-21T16:16:39Z")

</div>

It’s more about where your system saves the global node modules that’s the problem here.

Is it only newman that’s not working when you install that as a global module? Have you tried doing a global uninstall and install again? Did you quit the terminal after installing the module and then restarting it again, sometimes that’s not picked up. Does it work in a CMD window and not in the terminal you’re using?

I can basically list out questions all day long but I have no idea about your machine so i’m just guessing and making suggestions 😃

---

<div class="post-metadata">

**Author:** ![frankdoylezw](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/frankdoylezw/32/7322_2.png) [@frankdoylezw](https://community.postman.com/u/frankdoylezw)\
**Post date:** [October 22, 2020, 10:19am UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/7 "2020-10-22T10:19:47Z")

</div>

OK, thanks, understood.

---

<div class="post-metadata">

**Author:** ![flight-pilot-7314884](https://avatars.discourse-cdn.com/v4/letter/f/6a8cbe/32.png) [@flight-pilot-7314884](https://community.postman.com/u/flight-pilot-7314884)\
**Post date:** [March 31, 2021, 2:28am UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/8 "2021-03-31T02:28:58Z")

</div>

Hey @frankdoylezw , I’m encountering the same error when doing a ‘npm install newman’ in a yaml file in GitLab.  
 ![77](https://us1.discourse-cdn.com/getpostman/original/3X/6/d/6dcb333a9e344f9a245c9c674a83f132e5b908be.png)

Were you able to resolve your issue?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 1, 2021, 7:07am UTC](https://community.postman.com/t/windows-newman-installation-npm-warn-deprecated-har-validator/16972/9 "2021-04-01T07:07:37Z")

</div>

That’s a warning coming from a dependant module, it looks like Newman was installed correctly.

Are you not able to use Newman?

Are you seeing are errors when running your Collection?
