ionic-team / ionic-team/ionic-cli

npm WARN deprecated vm2@3.9.19: The library contains critical security issues

Open
#5,030 3 comments 9 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

**Description:**

When I install the latest Ionic CLI, it is throwing deprecated warning and the latest version CLI is not installed

**Steps to Reproduce:**
RUN Below commands, per the official guide [here](https://ionicframework.com/docs/intro/cli)
```
$ npm uninstall -g ionic
$ npm install -g @ionic/cli

``

**Output:**

``
$sudo npm uninstall -g @ionic/cli
Password:

removed 224 packages in 1s
\W $sudo npm install -g @ionic/cli
npm WARN deprecated vm2@3.9.19: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.

``
`

**My `ionic info`:**
Ionic CLI is not installed to run ionic info, command

```

```

**Other Information:**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.