Nuxt.js: I have to reset server when create new pages

Created on 22 Sep 2019  Â·  12Comments  Â·  Source: nuxt/nuxt.js

Version

v2.9.2

Reproduction link

https://codepen.io

Steps to reproduce

  1. Create a new universal nuxt proyect.
  2. Add new page called for example: "new.vue"
  3. Check .nuxt/router.js and server console

What is expected ?

Server console should compile and .nuxt/router.js should contains the new route for the "new.vue" page.

What is actually happening?

Console server doesn't show new changes(no compile) therefore .nuxt/router.js doesn't contain the new route for "new.vue" page.
I need reset the nuxt server for get the new route.

Additional comments?

SO: Windows 10

This bug report is available on Nuxt community (#c9806)
bug-confirmed bug-report

All 12 comments

Same problem using Windows 10 Pro and Node JS 10.16.3

Same here. Windows and Ubuntu (Ubuntu show the route in router.js, but won't output page unless if reset server manually). And ofc, this is my first project with Nuxt.js

Can confirm the behaviour on Linux, have looked into this already with regards to the following pr but havent been able to put my finger on it yet: https://github.com/nuxt/nuxt.js/pull/6448

/cc @clarkdo

I can also conform this bug on Windows 10, NPM 6.9.0, node 10.16.0

Confirmed on newly scaffolded Nuxt 2.9.2

Windows 10
Node 10.16.0
NPM 6.9.0

With the latest nuxt-edge I cannot reproduce this anymore. It seems that webpack's pause/resume was the culprit somehow (fyi @pi0 )

So at least good news it is not being used anymore for next release :) 13331a0

hello, is there any fix for this? happening to me right now. node 10.15.1 npm 6.11.3 created the project with npx create-nuxt-app

If you install nuxt-edge and use that in Development until 2.10.0 gets
released, you should be fine. :)

lør. d. 28. sep. 2019 22.29 skrev Martin notifications@github.com:

hello, is there any fix for this? happening to me right now. node 10.15.1
npm 6.11.3 created with the project with npx create-nuxt-app

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/6450?email_source=notifications&email_token=ACGEXW7KND65C5CICYUPY3LQL65DHA5CNFSM4IZD7JOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73B2DY#issuecomment-536222991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACGEXW4AHAMBNL5PWY6LXGTQL65DHANCNFSM4IZD7JOA
.

don't know what nuxt edge is

@Maadtin yarn remove nuxt && yarn add nuxt-edge. It's the nightly build of nuxt.

Closing this issue as v2.10 has been released, please create a new issue if you still experience issues

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danieloprado picture danieloprado  Â·  3Comments

VincentLoy picture VincentLoy  Â·  3Comments

pehbehbeh picture pehbehbeh  Â·  3Comments

maicong picture maicong  Â·  3Comments

uptownhr picture uptownhr  Â·  3Comments