Skip to content

Nuxt3 Scaffold Fails to LoadΒ #11778

@bencodezen

Description

@bencodezen

πŸͺŸ Environment

  • Operating System: Darwin
  • Node Version: v14.17.0
  • Nuxt Version: 3-0.10.0-27202698.2b63578
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

πŸ–ŠοΈ Describe the bug and expected behavior

Nuxt3 local dev fails to start properly. Received the following bug when running yarn dev with no modifications to the cloned repo.

[error] Cannot start nuxt:  TypeError: plugin is not a function
    at /Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:478:16
    at Array.map (<anonymous>)
    at PostcssConfig.loadPlugins (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:472:49)
    at PostcssConfig.config (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:501:14)
    at createPostcssLoadersRule (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:615:32)
    at createdStyleRule (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:554:3)
    at loaders (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:540:28)
    at applyPresets (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:84:7)
    at style (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:514:3)
    at applyPresets (/Users/bencodezen/Projects/my-nuxt3-project/node_modules/@nuxt/webpack-builder/dist/index.js:84:7)

πŸ“ Steps to reproduce

# Clone repo per docs
npx degit "nuxt/starter#v3" my-nuxt3-project

# Change directory and then install dependency
yarn

# Start local dev server
yarn dev

βž• Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions