Skip to content

Conversation

@dsherret
Copy link
Member

@dsherret dsherret commented Oct 2, 2025

Closes #30898

@dsherret dsherret changed the title fix: move unsupported scheme error to runtime ModuleLoader fix(check): do not error for unsupported URL schemes Oct 2, 2025
- "jsr"
- "npm"
at [WILDCARD]/extension_import.ts:1:8
error: Importing ext: modules is only allowed from ext: and node: modules. Tried to import ext:runtime/01_errors.js from file:///[WILDLINE]/extension_import.ts
Copy link
Member Author

@dsherret dsherret Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine (not worth investigating how to get the previous error back because nobody is going to do this).

Copy link
Member

@nathanwhit nathanwhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret enabled auto-merge (squash) October 2, 2025 23:53
@dsherret dsherret merged commit 46e2c64 into denoland:main Oct 3, 2025
55 of 70 checks passed
@dsherret dsherret deleted the fix_move_unsupported_scheme_error_to_module_loader branch October 3, 2025 02:05
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

Successfully merging this pull request may close these issues.

Unsupported scheme "cloudflare" error is reproduced in 2.5.2

3 participants