file_unreachable
An archive file is not reachable from the entry module through imports.
An archive file is not reachable from the entry module through imports.
| Kind | Build or validation problem |
| Reported by | Archive validation (registry, room hosts, disko publish) |
disko exit code | 1 (problems) |
The archive contains a file that is not reachable from the entry module
through imports. An archive holds exactly game.json plus every module and
asset reachable from entry, and nothing else.
Why it happens
Archive validation reports this code: the registry on upload and room hosts
before loading. disko publish only packages reachable files, so you see it
for archives built or edited by other tools.
Wrong
sh
Right
sh
To ship an asset, import it from a module; unimported files are never packaged.