question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

controller not work ssr mode

See original GitHub issue

Hi I used nuxt js and use example (https://github.com/surmon-china/vue-awesome-swiper/blob/master/examples/31-thumbs-gallery-loop.vue) in project but not work in ssr mode

 this.$nextTick(() => {
        const swiperTop = this.$refs.swiperTop;
        const swiperThumbs = this.$refs.swiperThumbs;
        swiperTop.controller.control = swiperThumbs
        swiperThumbs.controller.control = swiperTop
      })

Error:

CANNOT SET PROPERTY 'CONTROL' OF UNDEFINED

Hope this helps!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

14reactions
pablosnwgcommented, Nov 4, 2020

Hi. had same issue when i try to get controls from swiper. I solved it by uninstalling latest version of “swiper” from npm (in package.json file, was isntaled “swiper”: “^6…”,). Then installed older version of “swiper” by “npm i swiper@5.4.5”. PS. current version of “vue-awesome-swiper”: “^4.1.1”, Maybe it helps for you

0reactions
root5427commented, Jan 12, 2022

@surmon-china any updates on this? Still not working in SSR mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Question about analog control SSR - Home Distiller
SSR is a Solid State Relay, can be either ON or OFF, the normal operation for power control is to "pulse" the ON-time....
Read more >
Control Panel Troubleshooting - The Electric Brewery
If the SSR light isn't on then either the PID is defective, the wiring between the PID and the SSR is incorrect (check...
Read more >
How to Use Temperature Controller | PID Controller with SSR
... get awesome perks, and support us, all at once:https://www.youtube.com/c/upmation/joinWhat is a PID controller and how does it work ?
Read more >
Trouble shooting temperature control equipment | Eurotherm
The best solution is to use an SSR designed for low-voltage dc logic operation and use a controller that has a matching DC...
Read more >
Solid State Relays Common Precautions
controller for heater ON/OFF switching. When using an SSR with the zero cross function, most generated noise is suppressed. This type of load...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found