microsoft / microsoft/azurechat
Continously getting "Couldn't detect a version for the platform"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 1
Description
We're trying to deploy the azurechat using the cli (via a .zip file). The entire Infra-code has been handled via TerraForm and the last step is to deploy the src code.
However, when deploying, via cli, we're getting the error message: Couldn't detect a version for the platform. We've searched for numerous reasons and they all come back to the Oryx builder. We've tried setting the app configuration parameter (SCM_DO_BUILD_DURING_DEPLOYMENT) to false but that doesn't give us anything. We have checked that a correct version of nodejs is, in fact, present within the package.json as well as the package-lock.json (engines are declared).
Please advise.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CLI zip deployment and inspect package.json and package-lock.json, including their declared Node.js engines, alongside the Azure app configuration. Reproduce the Oryx error and compare the archive and deployment settings with what platform detection requires; done means identifying a reproducible cause and documenting the required deployment configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, nodejs, terraform, typescript
- Domain
- build-system, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100