opengb icon indicating copy to clipboard operation
opengb copied to clipboard

Moving modules folder breaks imports

Open NathanFlurry opened this issue 9 months ago • 1 comments

Reproduce

  1. Create project
  2. Move project dir
error: Module not found "file:///path/to/src/runtime/mod.ts".
  at file:///path/to/tests/basic/.opengb/entrypoint.ts:3:25

Workaround

Run opengb clean and run the command again.

Solution

Ensure all paths are relative and there are no absolute paths.

NathanFlurry avatar May 19 '24 08:05 NathanFlurry