Answered by:
Using npm 2.8.3

Question
-
In order to leverage private npm modules via npm, a version of npm 2.7.0 or higher is required. The npm version on the Azure Web apps appears to default at 1.4.9. Through the Kudo Site manager I'm able to install the latest version of npm, but so far unsuccessful binding it as the default. I've tried several solutions, including the use of npm config cmds and manual ftp and updating of existing npm but it's still stuck on the old version.
Any advice or quick solutions to get the latest npm running by default?
Friday, April 17, 2015 10:56 PM
Answers
-
We actually have npm up to 2.5.1. but that may be too old for you.
Right now, it looks like the latest node is 0.12.2 (per https://nodejs.org/), and looking at https://raw.githubusercontent.com/joyent/node/v0.12.2-release/deps/npm/package.json, it maps to npm 2.7.4.
So I think we just need to update to the latest node and matching npm and you'll be all set.
- Marked as answer by Shirisha Paderu Monday, April 20, 2015 12:59 PM
Friday, April 17, 2015 11:06 PM -
Node 0.12.2 and npm 2.7.4 are now available. Just set WEBSITE_NODE_DEFAULT_VERSION=0.12.2 in your Azure portal App Settings.
- Marked as answer by Shirisha Paderu Monday, April 20, 2015 12:58 PM
Saturday, April 18, 2015 12:23 AM
All replies
-
We actually have npm up to 2.5.1. but that may be too old for you.
Right now, it looks like the latest node is 0.12.2 (per https://nodejs.org/), and looking at https://raw.githubusercontent.com/joyent/node/v0.12.2-release/deps/npm/package.json, it maps to npm 2.7.4.
So I think we just need to update to the latest node and matching npm and you'll be all set.
- Marked as answer by Shirisha Paderu Monday, April 20, 2015 12:59 PM
Friday, April 17, 2015 11:06 PM -
Node 0.12.2 and npm 2.7.4 are now available. Just set WEBSITE_NODE_DEFAULT_VERSION=0.12.2 in your Azure portal App Settings.
- Marked as answer by Shirisha Paderu Monday, April 20, 2015 12:58 PM
Saturday, April 18, 2015 12:23 AM