Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Module not found when no tests exist #571

Open
NathanFlurry opened this issue Sep 9, 2024 — with Linear · 1 comment
Open

error: Module not found when no tests exist #571

NathanFlurry opened this issue Sep 9, 2024 — with Linear · 1 comment
Assignees
Labels
bug Something isn't working

Comments

Copy link
Member

NathanFlurry commented Sep 9, 2024

Steps

  1. opengb clean
  2. Open modules/tests/basic
  3. opengb create module test_module
  4. opengb test test_module
  5. Receive this error
Testing test_module
error: Module not found "file:///Users/nathan/rivet/opengb-modules/tests/basic/.opengb/git_registries/default/modules/lobbies/module.gen.ts".
    at file:///Users/nathan/rivet/opengb-modules/tests/basic/.opengb/git_registries/default/modules/lobbies/utils/region.ts:8:34

error: Tests failed.

Workaround

Run opengb create test and this error goes away

@NathanFlurry NathanFlurry added the bug Something isn't working label Sep 9, 2024 — with Linear
@NathanFlurry NathanFlurry self-assigned this Sep 9, 2024
@NathanFlurry NathanFlurry changed the title error: Module not found "file:///...etc.../.opengb/git_registries/default/modules/lobbies/module.gen.ts". error: Module not found when no tests exist Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant