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

Nuxt 2 start error - possible @nuxt/kit regression #507

Closed
harlan-zw opened this issue Jul 15, 2022 · 1 comment
Closed

Nuxt 2 start error - possible @nuxt/kit regression #507

harlan-zw opened this issue Jul 15, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@harlan-zw
Copy link
Contributor

harlan-zw commented Jul 15, 2022

Version

@nuxtjs/tailwindcss: 5.3.0
nuxt: 2.15.8

Reproduction Link

https://stackblitz.com/edit/nuxt-starter-zcq9qt?file=nuxt.config.js,package.json, see: #500

Steps to reproduce

Add module, run dev.

It can be resolved by disabling the viewer:

tailwindcss: {
    viewer: false,
  },

What is Expected?

It to work

What is actually happening?

It crashes

 FATAL  Cannot read properties of undefined (reading 'push')                                                                                                                                    14:01:12

  at addDevServerHandler (node_modules/@nuxt/kit/dist/index.mjs:196:38)
  at setup (node_modules/@nuxtjs/tailwindcss/dist/module.mjs:199:7)
  at async ModuleContainer.normalizedModule (node_modules/@nuxt/kit/dist/index.mjs:607:5)
  at async ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:239:20)
  at async ModuleContainer.ready (node_modules/@nuxt/core/dist/core.js:55:5)
  at async Nuxt._init (node_modules/@nuxt/core/dist/core.js:478:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants