-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Description
πͺ 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