I found and solved the issue. Somehow in my deployment script preparing the environment I had SCM_ENABLE_DYNAMIC_INSTALL
set to false. As soon as I switched it to true, everything started to work.
Webapps Error: Platform 'nodejs' version '18' is unsupported.
Harry
46
Reputation points
Hello,
I am trying to a new node application on the app service (Linux) and I tried to use Node 18LTS and 16LTS and with both I get, once the application gets deployed by the deployment center connected to my Bitbucket repository, this error message from Oryx:
Command: oryx build /home/site/repository -o /home/site/wwwroot --platform nodejs --platform-version 18 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8db135f256a3433 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20220825.1, Commit: 24032445dbf7bf6ef068688f1b123a7144453b7f, ReleaseTagName: 20220825.1
Build Operation ID: |iD25tv55Nl0=.65ebb469_
Repository Commit : 1a6349983b75b59e8a6b8963c22844b7b12a8f4e
Detecting platforms...
Error: Platform 'nodejs' version '18' is unsupported. Supported versions:
Error: Platform 'nodejs' version '18' is unsupported. Supported versions:\n/bin/bash -c "oryx build /home/site/repository -o /home/site/wwwroot --platform nodejs --platform-version 18 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8db135f256a3433 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
I am pretty much at a loss here since the real deployment does not even start since the pre-checks already fail.
Am I missing something during the basic setup or is there a general issue with the App Services?
Harry.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
1 answer
Sort by: Most helpful
-
Harry 46 Reputation points
2023-02-21T12:56:58.62+00:00