nuxt/cli

[Deno] running in dev mode: `error: unexpected argument '--enable-source-maps' found`

Opened this issue · 1 comments

Currently when running deno task --unstable dev on an already created project, I get the following error:

error: unexpected argument '--enable-source-maps' found

Deno's roadmap (denoland/deno#20851) mentions running most popular npm modules, would be nice to have nuxt prepared to be run directly by Deno in development mode.

Manually patching async function _startSubprocess

execArgv: [
  //"--enable-source-maps",

Gets this running but with an error:

[nitro 6:10:17 PM]  ERROR  RollupError: Entry module "node_modules/.deno/nuxt@3.8.1/node_modules/nitropack/dist/runtime/entries/nitro-dev" cannot be external.


undefined