npm install returns an “Unsupported URL Type” error

npm install unsupported url type

While working on an Ember.js app today, I hit an odd snag.  Running a standard npm install was bombing terribly on my Mac.  And 10 minutes of my google-fu wasn’t turning up any good leads.  I had searched for “npm install ERR! Unsupported URL Type“, upon other variants, but I had missed something.

The Solution

What I had missed was a woefully out of date npm version.  Node.js was already at latest (4.4.3 at the time of this post), but I remember screwing around with re-installing npm on this machine the other day and somehow I was running npm v2.15.1.

Updating to the latest version of npm fixed the errors I encountered with npm install.  And I’m sure there’s another lesson in there somewhere about nuking at reinstalling core software tools, but maybe that will be detailed in a future post.

TLDR; — I won’t be detailing that in a future post.

Author: Grant Norwood

Designer of things you click. Vegetable rights activist. Volunteer with tiny humans. Austin-ish, Texas.

People describe me as a rad web developer, product manager, solutions architect, public speaker, volunteer, and non-profit board member.

Did you know you can leave a comment?