🚨 Deployment Failure: Oryx build fails with System.ArgumentNullException (Parameter 'node') when deploying Strapi demo package
Description
I'm trying to deploy the official Strapi demo package provided by Azure, but since this week the deployment has started failing during the Oryx build process with an unexpected System.ArgumentNullException error.
Package used
https://github.com/Azure-Samples/strapi-on-appservice-sample/blob/main/strapi-packages/strapi-on-appservice-demo.zip
Command used to deploy
az webapp deployment source config-zip --resource-group BB-NONPROD-INV-BR-CMS-PBB --name strapi-cms-pbb --src strapi-on-appservice-demo.zip
Command error extracted from the log
oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 22 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8de1c5bf7e31248 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
Build Context
| Key |
Value |
| Operation performed by |
Microsoft Oryx (GitHub) |
| Oryx Version |
0.2.20251022.1+bef98bc7139feefaa74be16de9d835e2c85385d4 |
| Build Operation ID |
0a18ce444f574a36 |
| Repository Commit |
5edfb92e-986a-48f9-b399-e99dd6feabd8 |
| OS Type |
bookworm |
| Image Type |
githubactions |
| Platform |
nodejs@22 |
Error Log
Error: Oops... An unexpected error has occurred.
Error: System.ArgumentNullException: Value cannot be null. (Parameter 'node')
at System.ArgumentNullException.Throw(String paramName)
at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
at System.Xml.XPath.Extensions.XPathSelectElements(XNode node, String expression, IXmlNamespaceResolver resolver)
at Microsoft.Oryx.BuildScriptGenerator.SdkStorageVersionProviderBase.GetAvailableVersionsFromStorage(String platformName)
at Microsoft.Oryx.BuildScriptGenerator.Node.NodeSdkStorageVersionProvider.GetVersionInfo()
at Microsoft.Oryx.BuildScriptGenerator.Node.NodeVersionProvider.GetVersionInfo()
at Microsoft.Oryx.BuildScriptGenerator.Node.NodePlatform.GetMaxSatisfyingVersionAndVerify(String version)
at Microsoft.Oryx.BuildScriptGenerator.Node.NodePlatform.ResolveVersions(RepositoryContext context, PlatformDetectorResult detectorResult)
at Microsoft.Oryx.BuildScriptGenerator.Node.NodePlatform.Detect(RepositoryContext context)
at Microsoft.Oryx.BuildScriptGenerator.DefaultPlatformsInformationProvider.GetPlatformsInfo(RepositoryContext context)
at Microsoft.Oryx.BuildScriptGenerator.DefaultBuildScriptGenerator.GenerateBashScript(BuildScriptGeneratorContext context, String& script, List checkerMessageSink)
at Microsoft.Oryx.BuildScriptGeneratorCli.BuildScriptGenerator.TryGenerateScript(...)
Steps to Reproduce
- Download the demo package from the official Azure sample repository:
👉 strapi-on-appservice-demo.zip
- Deploy it to Azure App Service using the default configuration.
- Observe the Oryx build step — it fails with the error above.
Expected Behavior
The Strapi demo package should deploy successfully, as it did previously.
Actual Behavior
The deployment fails with:
System.ArgumentNullException: Value cannot be null. (Parameter 'node')
during the Oryx build step.
Additional Context
- This issue started occurring recently — deployments using the same package worked fine before.
- It seems related to the latest Oryx release (
20251022.1).
🚨 Deployment Failure: Oryx build fails with
System.ArgumentNullException (Parameter 'node')when deploying Strapi demo packageDescription
I'm trying to deploy the official Strapi demo package provided by Azure, but since this week the deployment has started failing during the Oryx build process with an unexpected
System.ArgumentNullExceptionerror.Package used
https://github.com/Azure-Samples/strapi-on-appservice-sample/blob/main/strapi-packages/strapi-on-appservice-demo.zip
Command used to deploy
az webapp deployment source config-zip --resource-group BB-NONPROD-INV-BR-CMS-PBB --name strapi-cms-pbb --src strapi-on-appservice-demo.zipCommand error extracted from the log
oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 22 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8de1c5bf7e31248 -p compress_node_modules=tar-gz | tee /tmp/oryx-build.logBuild Context
0.2.20251022.1+bef98bc7139feefaa74be16de9d835e2c85385d40a18ce444f574a365edfb92e-986a-48f9-b399-e99dd6feabd8bookwormgithubactionsnodejs@22Error Log
Steps to Reproduce
👉 strapi-on-appservice-demo.zip
Expected Behavior
The Strapi demo package should deploy successfully, as it did previously.
Actual Behavior
The deployment fails with:
during the Oryx build step.
Additional Context
20251022.1).