nuxt-community / netlify-files-module

Nuxt 2 module to create new _headers, _redirects and netlify.toml files for Netlify or to use existing ones
MIT License
50 stars 5 forks source link

Installing the module breaks the "back" to root page ? #15

Closed mathieunicolas closed 4 years ago

mathieunicolas commented 4 years ago

Hello there,

NuxtJS v. 2.12.x Universal mode

I've been stuck on this for a few hours, and I can't understand why this happens. I installed the module by following the readme,

I still get the same error, in local dev (nuxt) or in netlify :

1/ From the root of the website 2/ click on any link ("Blog perso" of "Facebook et le "off-activity"", the other links go outside) 3/ press "back" button in your browser to go back to the root of the website

Aaaaand I get an error. Each time. Only when I want to go back to the root page.

The repo is here : https://github.com/mathieunicolas/site-perso and the netlify deployment : https://mathieunicolas.net

I can't figure out if it comes from the module, or from nuxt, but I simply don't understand why this appears... Of course if I don't use the module, the prod in netlify is completely broken.

Could you please help me to understand why ? Thanks very much

edit : the console gives me this error :

Screenshot 2020-06-12 at 02 10 08
mathieunicolas commented 4 years ago

Solved here : https://github.com/nuxt/nuxt.js/issues/7501#issuecomment-643264621 (I think the module wasn't the problem, I'm sorry for misposting here)