-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for npm install #46
Comments
We should also consider the impact of running npm install on the latency of application update. Npm adds a few seconds to the process. I think there are a few approaches we can take:
I lean towards somewhere between the last two options. From: Matias Woloski [[email protected]] Things to take into account
Reply to this email directly or view it on GitHub: |
option 3 is ideal, so the process would be: Analysis
Execution
I would have option 4 as a backup strategy if something went out of sync. This logic sounds like it will have to go in arr.js, not batch. |
I wonder if we can save ourselves the step of groveling through the data in the post receive hook and just inspect package.json files for all apps. After all, how many are there going to be? From: Matias Woloski [[email protected]] option 3 is ideal, so the process would be: Analysis
Execution
I would have option 4 as a backup strategy if something went out of sync. This logic sounds like it will have to go in arr.js, not batch. Reply to this email directly or view it on GitHub: |
+1 on running the npm install for every package. I think as part of the doc we should advise people on running |
I was playing today with NPM on the machine I'm using with
May be tonight, I'll start prototyping this, as I'm needing it right now. |
Great data. Do you know if npm can be run SxS? Doesn't it have some global cache? |
As far as I've seen it's a CMD, it looks for node.exe on the current directory and if not it uses the global alias, I ran it SxS on my machine by doing that copy (mentioned above) |
@gblock, did we learn anything from Isaak regarding running npm SxS? |
Also, I remember the issue @gblock had with the npm cache http://codebetter.com/glennblock/2012/02/27/my-tale-of-npm-woe-when-all-else-fails-clear-you-cache/ ... not sure how he got to that state... but if that happens on git-azure runtime this |
Definitely copying I'm trying to get our app to work on Windows Azure, but I've installed a Windows hence I'll be able to work on this a little bit more (for getting npm support) |
npm is just a node cli. It should work side by side fine. It does use a cache, but that is configurable. |
Things to take into account
cc @johnnyhalife
The text was updated successfully, but these errors were encountered: