Naveen Karnam
Naveen Karnam

Reputation: 493

nuxt build pauses after upgrade to node 15

After I upgraded my nuxt application to Node 15, the build pauses indefinitely.

Build command image

The local dev server stays paused with a "Loading..." message. Webpage Loading forever

My problem here is

  1. --loglevel verbose is not giving any more detail
  2. npm run build is looking like it is OK. (I'm not sure though) npm run build successful
  3. I can't actually figure out the error from the build log.

Atleast if I can zero on the error, I can try and fix it. Appreciate any pointers here.

Upvotes: 0

Views: 351

Answers (2)

kissu
kissu

Reputation: 46677

Not sure if this post is somehow related but there are some issues with Node 15 as it looks. Especially since you've just upgraded to [email protected]. I'd recommend downgrade to a lower version of nuxt.

Upvotes: 1

KaranV
KaranV

Reputation: 312

nodejs 15 has some major compatibility issues try switching back to nodejs version 14.x.x

Suggestion

use nvm to manage multiple versions of nodejs instructions for linux, Windows, MacOS

Upvotes: 2

Related Questions