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

"Remote modules are not allowed to import local modules" #137

Open
applmak opened this issue Sep 13, 2023 · 3 comments
Open

"Remote modules are not allowed to import local modules" #137

applmak opened this issue Sep 13, 2023 · 3 comments
Labels
needs info Needs more information to be triaged.

Comments

@applmak
Copy link

applmak commented Sep 13, 2023

Hi. After upgrading deno, I'm now getting:

Remote modules are not allowed to import local modules. Consider using a dynamic import instead.

when I'm trying to use emit on some typescript code. Normally, I'd pass '--unstable' to deno run to make this work, but I'm not sure how to do that via emit(). Is there such an option?

@yacinehmito
Copy link
Contributor

yacinehmito commented Sep 14, 2023

Which version of Deno are you on?

@applmak
Copy link
Author

applmak commented Sep 14, 2023

Sorry, I should have included this. I'm now on the latest:

$ deno --version
deno 1.36.4 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6

@dsherret
Copy link
Member

Can you post a reproduction? Is there a remote module importing a local module?

@dsherret dsherret added the needs info Needs more information to be triaged. label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Needs more information to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants