I have just deployed a sage 9 theme, but things are weird.
in the same page part of JS code are working, and part not.
trying to debug, but console.log are hidden, or in any case, it seems that part of code is not processed…
I think I found the issue: it may that JQUERY is not being loaded correctly?
I tryed to inject a in a page and $ is undefined…
then checked anything and what it is working is anything not jquery related…
GSAP for example, or splitting, are working fine…
Have you declared jquery a dependency of your main theme script? If not, WordPress won’t enqueue it or in the wrong order (with traditional script elements).
You are using Trellis Vagrant locally?
A staging server could be a good idea.
Set up a VM that resembles the production system as closely as practically possible (including the usage of htaccess and workarounds for the limitations of shared hosting).
Then you can upload your site, plugins, theme onto it and probably observe the same issues.
Than you very much for the patience: since I was on a delivery I had to change broken JS with a CSS fallback which, luckily seems to work fine according to you
it was a basic JS to force font height to fulfill the screen height, not rocket science
BUT: simply was not doing its job.
you know another discrepancy upon building?
css cursor: url('building-with-png') generates a building error!
(but yarn start, works like a charm)