npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

vi editor in npmjs

I tried deploying a skill using ASK SDK V2 for which a NPM project is required. I tried building a NPM project using:

In this link, an index.js file was created using vi index.js but I am getting an error message like:

vi : The term ‘vi’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vi index.js
+ ~~
** + CategoryInfo : ObjectNotFound: (vi:String) [], CommandNotFoundException**
** + FullyQualifiedErrorId : CommandNotFoundException**

I tried installing vi node_module using but still this error occurs.

You need to install vi using the package manager of your operating system.

I tried installing it using: npm i vi but still I get the error