vi editor in npmjs


(Swetha Meenakshi N) #1

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

https://docs.npmjs.com/getting-started/creating-node-modules

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.


(Markus Tacker) #2

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


(Swetha Meenakshi N) #3

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


(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.