'Getting npm error while running npm -version

**I'm getting NPM(Node Package Manager) error while running npm --version. When i run **npm -v ** it gives ExperimentalWarning:The fs.promises API is experimental 7.20.0
enter image description here **



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source