Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rracariu opened this issue Nov 9, 2023 · 1 comment

Comments

@rracariu
Copy link

rracariu commented Nov 9, 2023

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.

@rracariu
Copy link
Author

rracariu commented Nov 9, 2023

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

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

No branches or pull requests

1 participant