denoland/deno · error
No module URL provided
Error message
No module URL provided
What it means
Error "No module URL provided" thrown in denoland/deno.
Source
Thrown at cli/tools/installer/global.rs:346
flags: Arc<Flags>,
install_flags_global: InstallFlagsGlobal,
) -> Result<(), AnyError> {
let cwd = resolve_cwd(flags.initial_cwd.as_deref())?;
let install_dir =
get_installer_bin_dir(&cwd, install_flags_global.root.as_deref())?;
if let Ok(metadata) = fs::metadata(&install_dir) {
if !metadata.is_dir() {
return Err(anyhow!("Installation path is not a directory"));
}
} else {
fs::create_dir_all(&install_dir)?;
}
let source_file = install_flags_global
.module_urls
.first()
.ok_or_else(|| anyhow!("No module URL provided"))?
.clone();
// Determine the output path
let output = if let Some(ref name) = install_flags_global.name {
let mut output_path = install_dir.join(name);
if cfg!(windows) {
output_path = output_path.with_extension("exe");
}
output_path.to_string_lossy().into_owned()
} else {
format!("{}/", install_dir.to_string_lossy())
};
let output_path = PathBuf::from(&output);
if output_path.is_file() {
if !install_flags_global.force {
return Err(anyhow!(
"Existing installation found. Aborting (Use -f to overwrite).",View on GitHub (pinned to 89f33cbef2)
When it happens
Trigger: Thrown at cli/tools/installer/global.rs:346 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of denoland/deno@89f33cbef2 (2026-08-16).
Data as JSON: /api/errors/5dc29828c8a336d4.
Report an issue: GitHub.