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

fix: Error: R] [unreachable] Not an ESM module. [plugin deno-loader] with config vendor: true #2606

Open
iugo opened this issue Jul 23, 2024 · 0 comments

Comments

@iugo
Copy link

iugo commented Jul 23, 2024

The code is throwing an error Error: R] [unreachable] Not an ESM module. [plugin deno-loader] when run on a new PC and in CI. More details can be found in the CI info here: https://github.com/iugo/deno-fresh-test/actions/runs/10051684696/job/27781680895

This is a strange issue because the same Deno version is working fine on my other machines.

The repository where this issue can be reproduced is: https://github.com/iugo/deno-fresh-test/tree/9ebbbbd4e99164234ae96d50e13d03ca7ea7f32e


The issue was found to be incompatible with the vendor: true configuration in deno.json. The problem can be resolved after this commit.

@iugo iugo changed the title fix: Error: R] [unreachable] Not an ESM module. [plugin deno-loader] fix: Error: R] [unreachable] Not an ESM module. [plugin deno-loader] with config vendor: true Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant