Skip to content

JS error with default installationΒ #5285

Closed
@kallepyorala

Description

Version

v2.4.5

Reproduction link

https://nuxtjs.org/guide/installation

Steps to reproduce

npx create-nuxt-app first-nuxt

? Project name first-nuxt
? Project description My fantastic Nuxt.js project
? Use a custom server framework none
? Choose features to install Linter / Formatter, Prettier, Axios
? Use a custom UI framework tailwind
? Use a custom test framework jest
? Choose rendering mode Universal
? Author name My Name
? Choose a package manager npm

cd first-nuxt && npm run dev

What is expected ?

New application opens without errors

What is actually happening?

ERROR in ./.nuxt/client.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: [BABEL] /Users/.../Projects/training/first-nuxt/.nuxt/client.js: Cannot find module '@babel/preset-env/data/built-ins.json' (While processing: "/Users/.../Projects/training/first-nuxt/node_modules/@nuxt/babel-preset-app/src/index.js")

This bug report is available on Nuxt community (#c8868)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions