Art Dolimpio
Art Dolimpio

Reputation: 21

npm install completes but no executable produced

When I try to install cordova using "npm install -g cordova", the install process completes noting that 486 packages were added, and no errors reported, but no executable was produced. I tried the same thing on another computer and cordova.exe was produced in user/AppData/Roaming/npm.

I tried installing other programs and likewise, no executable was produced.

I also ran the install in verbose mode, but saw noting unusual.

I am installing from an admin-level cmd prompt on Windows 10.

What am I missing?

Upvotes: 2

Views: 914

Answers (1)

Jonas Eberle
Jonas Eberle

Reputation: 2921

A "normal" (non-global) install would be npm install cordova

You'll find the executable in node_modules/.bin then.

Upvotes: 2

Related Questions