cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open rracariu opened this issue 1 year ago • 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 (https://github.com/denoland/deno/issues/20851) mentions running most popular npm modules, would be nice to have nuxt prepared to be run directly by Deno in development mode.

rracariu avatar Nov 09 '23 02:11 rracariu

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/[email protected]/node_modules/nitropack/dist/runtime/entries/nitro-dev" cannot be external.


undefined

rracariu avatar Nov 09 '23 02:11 rracariu