Using Node.js 'url' library in workers

Tried to import url library, getting this error:

✘ [ERROR] Could not resolve "url"

      11 │ import { fileURLToPath } from "url";
         ╵                               ~~~~~

  The package "url" wasn't found on the file system but is built into node.
  Add "node_compat = true" to your wrangler.toml file and make sure to prefix the module name with "node:" to enable Node.js compatibility.

So added node_compat = true and importing as “node:url”, but now getting this error:

✘ [ERROR] service core:user:qr-code-generator: Uncaught Error: No such module "node:url".

    imported from "index.js"

Looking at Node.js compatibly docs it looks like url is not supported by default. Is there any way to use it workers?