check-node-version
check-node-version copied to clipboard
Error on Azure Websites with Windows
When deploy nodejs app with check-node-version on Azure Websites (Azure App Service with Windows as OS).
From what I take a look, the script would return platform as win32 since it's Windows OS.
However on Azure websites, chcp
return empty string. However where
command working fine in this environment.
Below are images from console of Azure Websites.
Not sure is there anything we can do to solve this.
Thanks.
@iKaew Thank you for bringing this up! While I find the implications abhorrent, I think it should be fixable.
You say there's an error, please add the error message.
What happens when you run chcp 65001
and where non-extant
?
@rasenplanscher Please see below
chcp 65001
where non-extant
@iKaew Thanks!
So far, however, I do not see an actual error related to check-node-version
.
How do you run check-node-version
?
¿What do you get when you run these in your repo:
-
chcp ; echo %ErrorLevel%
-
chcp 65001 ; echo %ErrorLevel%
-
npx check-node-version ; echo %ErrorLevel%