DevOps
Node package installation causes the following build error:
Version ‘14.19.1’ of platform ‘nodejs’ is not installed. Generating script to install it
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.
Removed package.json and package-lock.json to overcome this issue, based on this advice
Could the solution proposed here skip_app_build help? Failed github actions CI/CD deployment to azure
Or how about this: npm ci
Re-installing SWA CLI:
Ran the following in the root of the app to add the CLI as a local/project level dev dependency: npm install -D @azure/static-web-apps-cli
Removed package-lock.json from .gitignore file
Committed, and got the error again
Added skip_app_build to build yml file, 😀!