question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't install Nuxt 3, npx nuxi init nuxt3-test gives 'ERROR No such built-in module'

See original GitHub issue

Environment

  • Operating System: Darwin
  • Node Version: v14.20.0
  • Nuxt Version: 0.0.0
  • Nitro Version: -
  • Package Manager: npm@6.14.17
  • Builder: webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

run npx nuxi init nuxt3-test-02 and you will get errors immediately.

ERROR  No such built-in module: node:stream/promises                                                                14:04:11

  at new NodeError (internal/errors.js:322:7)
  at Loader.builtinStrategy (internal/modules/esm/translators.js:285:11)
  at new ModuleJob (internal/modules/esm/module_job.js:63:26)
  at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
  at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
  at async Promise.all (index 17)
  at async link (internal/modules/esm/module_job.js:83:9)

Describe the bug

can’t setup a Nuxt 3 project

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
pi0commented, Sep 20, 2022

A side note: Please consider moving from 14 to 16. We will start soft deprecating 14.x soon. https://github.com/nuxt/framework/issues/7648

2reactions
danielroecommented, Sep 20, 2022

We are very aware, and this issue will be fixed in the next RC. The point above is a workaround until then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems with running Nuxt 3 [3.0.0-rc.3] on Apple silicon
This problem only curves on apple silicon, not on Intel-based machines. How can I solve this problem? Creating nuxt app : npx nuxi...
Read more >
Installation - Nuxt
Here, you will find information on setting up and running a Nuxt project in 4 steps.
Read more >
Nuxt 3 Beta: What's New and How to Get Started - SitePoint
Nitro is a new server engine build for Nuxt on top of h3. It provides the following benefits: API routes support. Your server...
Read more >
Deploy Nuxt 3 sites with universal rendering on Azure Static ...
You can set up a new Nuxt project using npx nuxi init nuxt-app . Instead of using a new project, this tutorial uses...
Read more >
Getting started with Nuxt 3 - Section.io
Open a VS Code terminal and type the following command to create a new project. npx nuxi init nuxt3 nuxt3 is our project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found