You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to use this lib in deno I get:
error: Uncaught (in promise) TypeError: Module not found "https://deno.land/x/yaml@v2.1.3/src/parse/parser.js".
at https://deno.land/x/yaml@v2.1.3/src/public-api.ts:16:24
To Reproduce
Install Fresh or any other deno starter.
To import_map.json add "yaml": "https://deno.land/x/yaml@v2.1.3/src/public-api.ts",
deno start task, it will fail on module resolution
Expected behaviour
Source should be compatible with usage as es modules. Alternatively having dist committed along with source would probably fix this too though type annotations would be lost then I think.
Versions (please complete the following information):
Describe the bug
When trying to use this lib in deno I get:
To Reproduce
"yaml": "https://deno.land/x/yaml@v2.1.3/src/public-api.ts",
deno start task
, it will fail on module resolutionExpected behaviour
Source should be compatible with usage as es modules. Alternatively having
dist
committed along with source would probably fix this too though type annotations would be lost then I think.Versions (please complete the following information):
yaml
: https://deno.land/x/yaml@v2.1.3/src/public-api.ts?sourceAdditional context
Deno does have a yaml parser in its std lib, but it reorders arrays which is not nice.
The text was updated successfully, but these errors were encountered: