You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up until recently this has worked just fine. When we updated our application to require Node 12 the install process failed because selectNodeVersion doesn't actually update the system level node version. So when calling yarn it then called node internally and it was seeing the system version of Node 10, even though selectNodeVersion had selected Node 12, and it failed.
Inversely it seems the system version of Node got updated in the US West region sometime before 11/11/19, which meant our master branch still requiring Node 10 failed to deploy in one region because Yarn was running with Node 12 but the app required Node 10.
This works and got the app deploying again, but it feels wrong. Surely selectNodeVersion should be updating the environment node version during the selection process so any future commands are automatically executed against the correct version. IE, shouldn't something like NVM be used?
Thanks.
Premier support ticket: 119110125000210
The text was updated successfully, but these errors were encountered:
Yarn is now available on Azure App Service and we've been making use of it via this update applied here.
Up until recently this has worked just fine. When we updated our application to require Node 12 the install process failed because
selectNodeVersion
doesn't actually update the system level node version. So when callingyarn
it then callednode
internally and it was seeing the system version of Node 10, even thoughselectNodeVersion
had selected Node 12, and it failed.Inversely it seems the system version of Node got updated in the US West region sometime before 11/11/19, which meant our master branch still requiring Node 10 failed to deploy in one region because Yarn was running with Node 12 but the app required Node 10.
As a temporary solution I did this.
This works and got the app deploying again, but it feels wrong. Surely
selectNodeVersion
should be updating the environment node version during the selection process so any future commands are automatically executed against the correct version. IE, shouldn't something like NVM be used?Thanks.
Premier support ticket: 119110125000210
The text was updated successfully, but these errors were encountered: