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.

Different output on different machines

See original GitHub issue

So I’ve added the v3 version of the prerender-spa-plugin and it works great on my local machine.

Now I’m trying to do the build process on a DigitalOcean VPS but the build process hangs in an infinite loop due to:

const root = new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})

document.addEventListener('DOMContentLoaded', function () {
  root.$mount('#app')
})

If I remove the eventlistener, then it still works on my local pc but the vps will not execute the javascript and result in every page being empty.

I’m not sure what’s going on here. Everything is (should be) identical. Both node v8.11.1, npm v5.8.0 Local PC runs Ubuntu 17.10 VPS Ubuntu Server 16.04 I checked the local chrome version, both Chromium 67.0.3372.0

Any ideas?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
Christilutcommented, Apr 18, 2018

Awesome thanks! I’m actually prerendering locally as a workaround, but I wanted the VPS to do the building so that I can trigger a build through a webhook from a headless CMS.

Anyways thanks a bunch for solving this, fun bugs are fun! 😄

1reaction
Christilutcommented, Apr 17, 2018

Let me get back to you on that. I’d prefer to make the project open source anyway, but I’ll just have to discuss that with the boss 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are Different Output Devices? - GeeksforGeeks
What are Different Output Devices? · 1. Monitor · 2. Printer · 3. Plotter · 4. Projector · 5. Speakers · 6. Headphones...
Read more >
Different output on different machine python code
I'm trying to import multiple csv files into a dictionary. My idea is key is present the name of csv files, and value...
Read more >
Different results on different computers. · Issue #5667 - GitHub
I'm running the same model with the same inputs, on my dev machine and in my CI pipeline I'm seeing slightly different results...
Read more >
Why do I get different output values of LSB_SUB_PARM_FILE ...
I write an esub script in different machines, say A and B. When I submit a job separately and output the value of...
Read more >
Different results on different computers, Matlab 2021b - 64 bit ...
I was testing some code on two different machines, both 64 bit windows, both Matlab 2021b with 64 bit. I was suprised, that...
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