May 13, 2014

Default value must be string or number error when running npm adduser

Problem: You try to run npm adduser command and get an error message that starts with something like “Default value must be string or number”.

Cause: It is attempting to access your default email address which you do not have set.

Fix: npm config set email youremail@yourdomain.com and then retry npm adduser again

 

 

Shortcuts

Where is Dan?


My Blog
My Blog
Twitter
Twitter
Facebook
Facebook
LinkedIn
LinkedIn
Flickr
Flickr
YouTube
YouTube
Delicious
Delicious
Foursquare
Foursquare
Pinterest
Pinterest
GetGlue
GetGlue
Pintley
Pintley
XBOX Live
XBOX Live
Last.fm
Last.fm
Windows Live
Windows Live
Telligent.com
Telligent
Graffiti CMS on CodePlex
Graffiti CMS
Popular

Recent Posts