Closed
Description
Version
Reproduction link
https://gitlab.com/alexkcollier/nuxt-build-repro
Steps to reproduce
- Create nuxt project
- Set mode to
spa
innuxt.config.js
yarn build
What is expected ?
Build succeeds
What is actually happening?
FATAL Cannot read property 'renderRoute' of undefined
Additional comments?
yarn generate
works as expected, and so does building in universal mode.
Activity
1001v commentedon Oct 2, 2019
I have the same issue on 2.10. There're no problems with 2.9.1.
AndrewBogdanovTSS commentedon Oct 2, 2019
It happens not only in SPA mode but also in Universal, with and without a
--modern
flag. Dev mode is working fine thoughDenoder commentedon Oct 3, 2019
Can also confirm this happening with 2.10.0
2.9 and below works fine.
AlexSwtlsk commentedon Oct 3, 2019
Same here
sbrieuc commentedon Oct 3, 2019
Same here
AndrewBogdanovTSS commentedon Oct 3, 2019
Guys, please, do not pollute the topic with the same messages. It's already clear that a lot of us have this issue
moritzsternemann commentedon Oct 3, 2019
Looks like the breaking change happened in the
@nuxt/generator@2.10.0
update. Works fine using2.9.1
.liyasthomas commentedon Oct 4, 2019
Build fails in Docker/Local/CI. Same here while generating pages in 'spa' mode.
TypeError: Cannot read property 'renderRoute' of undefined
josepjaume commentedon Oct 4, 2019
Same happens to me on
2.10.0
but I tried reverting to2.9.1
without success - maybe it's cause a transient dependency?AndrewBogdanovTSS commentedon Oct 4, 2019
@pi0 @manniL maybe you could provide some update on whether this issue is being addressed by the Nuxt team? Thank you
jmartinezuk commentedon Oct 4, 2019
Same here. Went back to 2.9.1 until it's fixed.
SamJakob commentedon Oct 4, 2019
I had this issue but I went back to 2.9.2 which also worked fine.
catisnorm commentedon Oct 5, 2019
Did you removed node_modules and package-lock?
https://nuxtjs.org/guide/upgrading#npm
18 remaining items