-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 build
fails at generating pages in spa mode
#6500
Comments
I have the same issue on 2.10. There're no problems with 2.9.1. |
It happens not only in SPA mode but also in Universal, with and without a |
Can also confirm this happening with 2.10.0 |
Same here |
1 similar comment
Same here |
Guys, please, do not pollute the topic with the same messages. It's already clear that a lot of us have this issue |
Looks like the breaking change happened in the |
Build fails in Docker/Local/CI. Same here while generating pages in 'spa' mode.
|
Same happens to me on |
Same here. Went back to 2.9.1 until it's fixed. |
I had this issue but I went back to 2.9.2 which also worked fine. |
Did you removed node_modules and package-lock? |
I ran into this after removing |
I imagine that this error is solved in the next version |
@riux it better be since now 2.10.0 is not usable for many people |
I'm not very fond of these things, but while tweaking here and there think I was able to build my SPA using 'npm run generate' instead of 'npm run build' (that gave the error)... |
Fixed via 136777d |
I update to that version it only shows me v2.10 |
@riux because Nuxt 2.10.1 wasn't officially released yet. You should wait. And please, use English |
|
You may have better luck creating a new issue. What you're reporting
doesn't seem related.
…On Fri., Oct. 11, 2019, 6:25 p.m. Riux, ***@***.***> wrote:
Well, I haven't updated to the new version yet. But I discovered that this
error occurred for two reasons: 1) .Use the nuxt functions (asyncData,
fetch) on a page with dynamic URL (search / _stringSearch.vue), then I had
to change these functions to created () {. ..}.
2) I also found it necessary to attach the content of my page (search /
_stringSearch.vue), with
Page content . My development environment is a universal application that
uses the firebase and firebase hosting functions. As I mentioned, the error
occurred at the time of the test in Firebase Hosting (Nuxt Build, Firebase
Implement)
[image: image]
<https://user-images.githubusercontent.com/9002215/66688326-c72f9f00-ec4b-11e9-9dc9-d21e7b16b976.png>
[image: image]
<https://user-images.githubusercontent.com/9002215/66688359-e0d0e680-ec4b-11e9-8e3f-8366739e253f.png>
[image: image]
<https://user-images.githubusercontent.com/9002215/66688389-078f1d00-ec4c-11e9-966c-b78040180cc9.png>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#6500>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFOMXYEFKK3MT72GGJLAFPTQOD4NVANCNFSM4I4XHWDQ>
.
|
Version
v2.10.0
Reproduction link
https://gitlab.com/alexkcollier/nuxt-build-repro
Steps to reproduce
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.The text was updated successfully, but these errors were encountered: