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.

Cannot start nuxt: Cannot read properties of undefined (reading 'push')

See original GitHub issue

Version


  • Operating System: Darwin
  • Node Version: v16.15.0
  • Nuxt Version: 3.0.0-rc.1-27525381.1f8e3e2
  • Package Manager: yarn@1.9.2
  • Builder: vite
  • User Config: typescript, publicRuntimeConfig, privateRuntimeConfig, css, buildModules, build
  • Runtime Modules: -
  • Build Modules: @nuxtjs/tailwindcss@5.0.4, @vueuse/nuxt@7.7.1, @nuxtjs/partytown@1.1.2

Steps to reproduce

i do yarn upgrade-interactive and upgrade @nuxtjs/tailwindcss@5.0.4 to @nuxtjs/tailwindcss@5.1.2

and then do yarn dev but it can not start

it shows Cannot start nuxt: Cannot read properties of undefined (reading 'push')

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:20
  • Comments:30 (1 by maintainers)

github_iconTop GitHub Comments

152reactions
yulafezmesicommented, May 26, 2022

also, adding an empty array named devServerHandlers to nuxt.config file will solve the issue.

devServerHandlers: [],

21reactions
isimmonscommented, Nov 4, 2022

I had this error after upgrading nuxt3 to RC 13. I manually updated @nuxt/tailwindcss from 6.1.1 to 6.1.3 and it fixed it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Nuxt error - TypeError: Cannot read property 'push' of ...
I am trying to run an old project which is running in node - v8.15.0 and nuxt - v1.
Read more >
cannot start nuxt: cannot read properties of undefined (reading ...
Running nuxi dev results in Cannot start nuxt: Cannot read property 'callHook' of undefined Additional context Encountered while migrating from Nuxt2 to Nuxt- ......
Read more >
Store directory - Nuxt
This directory cannot be renamed without extra configuration. ... To get started, export the state as a function, and the getters, mutations and...
Read more >
Introduction to Nuxt 3 modules - DEV Community ‍ ‍
Nuxt 3 beta dropped few months ago and with it, several modules have ... $strapi / Cannot read properties of undefined (reading '$strapi') ......
Read more >
TypeError: Cannot read property 'push' of undefined in Vuejs
TypeError : Cannot read property 'push' of undefined in Vuejs. Copy Code axios.get('/getid').then(function(res){ this.todoList.push({ id: res.data[0].id, ...
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