I am having a very difficult time trying to create a MS Azure hosted static web app from a Github repository.
The workflows seem to be failing.
Receiving these errors via email:
Azure Static Web Apps CI/CD / Close Pull Request Job Skipped
Azure Static Web Apps CI/CD / Build and Deploy Job Failed in 37 seconds
Errors:
Part 1:Detecting platforms... Detected following platforms: nodejs: 18.20.4 Version '18.20.4' of platform 'nodejs' is not installed. Generating script to install it... Error: Could not find either 'build' or 'build:azure' node under 'scripts' in package.json. Could not find value for custom run build command using the environment variable key 'RUN_BUILD_COMMAND'.Could not find tools for building monorepos, no 'lerna.json' or 'lage.config.js' files found.
Part 2:---End of Oryx build logs--- Oryx could not find a 'build' or 'build:azure' script in the package configuration. Please add one of these commands to your package configuration file (i.e. package.json). Alternatively, you can add the app_build_command to the build/deploy section of your workflow file. For example, app_build_command: 'npm run docs:build'
package.json:
{
"name": "vanilla-basic",
"version": "1.0.0",
"scripts": { "start": "sirv ./src public --cors --single --no-clear --port 8000" }
}
I am running on a Mac and using the Safari Browser, if that even matters for this.
Appreciate any help.
Thanks!

