Hello,
I have two netlify website.
The first in linked to my main git branch and the auto deploy is enabled
The second is linked to my staging branch.
I used to develop on a third branch “dev” and do merge request when I need to see my works on netlify.
As you can see on the main branch : https://hunaa.netlify.app/ , my old version of code works like a charm on netlify.
But in staging : https://hunaa-staging.netlify.app/ , it stop to works few days ago. I don’t know exactly which commit make it bug.
The two netlify websites have the same config and same environments variables. Just the branch is different. And the first day when I setup this two sites, it was working very well.
When I do
npm run dev
in local, on the staging branch, it works too.
See screenshot of few differences between staging and main branch : Dropbox - screencapture-gitlab-hunaa-hunaa-nuxt3-compare-main-staging-2022-08-22-11_00_08.pdf - Simplify your life
As you can see, I installed :
- Babel
- vuetify
- jest
- and i updated sass
Log error in staging link :
entry-8d1317b0.mjs:4 TypeError: Cannot read properties of null (reading 'hero_placeholder')
at Proxy.<anonymous> (index-5c8f835a.mjs:1:722)
at br (entry-8d1317b0.mjs:4:3917)
at Yi.q [as fn] (entry-8d1317b0.mjs:4:37307)
at Yi.run (entry-8d1317b0.mjs:1:4668)
at V.update (entry-8d1317b0.mjs:4:37588)
at j (entry-8d1317b0.mjs:4:37614)
at entry-8d1317b0.mjs:4:8343
hero_placeholder is a property fetched by my backend api. My backend api is well working because it works in local and production website (linked to main branch). and because in google chrome inspector / networks tab, the api well return the field : https://i.imgur.com/cqduwC3.png
Regards,
Thank’s for your help