–– Pkl Error ––
Module URI `file:path/to/foo.pkl` has invalid syntax.

x | res = import("file:path/to/foo.pkl")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at invalidFileUri3#res (file:///$snippetsDir/input/errors/invalidFileUri3.pkl)

File URIs must have a path that starts with `/` (e.g. file:/path/to/my_module.pkl).
To resolve relative paths, remove the scheme prefix (remove "file:").

xxx | renderer.renderDocument(value)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at pkl.base#Module.output.text (pkl:base)

xxx | if (renderer is BytesRenderer) renderer.renderDocument(value) else text.encodeToBytes("UTF-8")
                                                                         ^^^^
at pkl.base#Module.output.bytes (pkl:base)
