5

I'm trying to open this repository using Github Codespaces. Note that this repository is correctly configured for local devcontainer development.

However, when I try to open it in CodeSpaces, it seems to build the container correctly, but fails with:Could not detect any language/platform in the source directory (full log here)

What am I missing?

Peter O.
  • 32,158
  • 14
  • 82
  • 96
Ani
  • 10,826
  • 3
  • 27
  • 46
  • 1
    Same issue here with another repo. The Oryx error message comes from here: https://github.com/microsoft/Oryx/blob/a09410ab72c54829d8fd5f9f47591656940f903e/src/BuildScriptGenerator/DefaultPlatformsInformationProvider.cs, but I don't get why the platform cannot be detected – Casper Dijkstra Apr 09 '21 at 14:25
  • Try using MCR base image instead of stock `ubuntu` image from Docker Hub, e.g. `mcr.microsoft.com/vscode/devcontainers/base:bionic`. – Berkant İpek May 25 '21 at 08:48
  • @BerkantIpek But why? I'm keen to understand what's going on, not just using base images that are incompatible with my workflow. – Ani May 25 '21 at 16:49
  • @Ani better see this: https://github.com/microsoft/vscode-dev-containers/blob/main/containers/CODESPACES.md – Berkant İpek May 25 '21 at 23:52

1 Answers1

0

It looks like you may have run into a regression that Codespaces had during the time specified in your log file.

Given your configuration, Oryx should no longer run, which means you should no longer run into this issue.

Would you mind retrying?

nikmd23
  • 9,095
  • 4
  • 42
  • 57