-
Notifications
You must be signed in to change notification settings - Fork 13
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
"Selected npm version null" or similar during node deployment #30
Comments
unfortunately, selecting nodejs version during git deployment from package.json doesn't work as expected.. so i came up with below script..
Important thing here is the second point.. there is no way to change nodejs version in kudu cli and this would cause some issues as below.. Try deploying below app as part of github deployment and you might experience below error..
we need to make this line configurable via APP setting or set it to higher version > 9
|
I have tried setting PATH manually from cli but unable to change it.. could be that we don't allow changing it..
Update: setting it from script might work.. will work on it and update |
Kudu's selectNodeVersion.js doesn't correctly handle values of WEBSITE_NODE_DEFAULT_VERSION calculated from linuxFxVersion.
A fix will be rolled out soon. In the meantime (and generally), the recommendation to customers is to set engines.node in package.json to a major.minor version. This will ensure usage of the newest point release of the desired major.minor.
The text was updated successfully, but these errors were encountered: