-
Notifications
You must be signed in to change notification settings - Fork 2
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
Using npm 3.2.x + on Azure? #1
Comments
Thanks for reporting! There's an obvious fix: We should just update npm on Azure Web Apps ;-) @davidebbo Can you (or someone in your team) push the latest npm? |
So the latest 3.3.6 would be good? Any idea why the latest Node 4.2 is still pointing to 2.14.7 and not some 3.x version? |
Yeah, that version would be good. npm is still testing npm 3 - it's super stable, but the Windows-friendly change to install modules flat (and the new multistage installer) could lead to some issues for module developers, so they're giving people some time to adjust to the change. On Azure, we should probably stick with 2.x as the default, but make the latest 3.x available (because it has so many benefits on Windows) |
Ok, I'll get 3.3.6 deployed. |
Ok, 3.3.6 is now available in Azure Web Apps. |
I still see the nodejs/node-gyp#661 with 3.3.6 on Azure. 😢 |
Thanks @davidebbo and @felixrieseberg for the super quick response and action - I have been able to move forward now. @lijunle Try clearing out your node_modules folder and then re-running |
@ztsmith Thank you very much! Delete the node_modules folder and re-deploy works great! |
It seems the npm version 3.1.x has problems with node-gyp that affects various packages e.g. babel:
Npm 3.2.x (or 3.3.x) fixes the issue but it's not available on Azure web apps yet. The only availble version of npm3 is 3.1.0.
I need npm 3.x for the flattened dependencies, but can't use the current version so appear to be stuck at this point.
Any ideas of how this can be worked around? e.g. manually install a local copy of NPM and use that?
The text was updated successfully, but these errors were encountered: