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.

♨️ bug: StackOverflow exception on cordova/capacitor mode

See original GitHub issue

Describe the bug Now when we create capacitor|cordova project with new Quasar v2, when developing app we get stack overflow if we make a mistake (ex. some template variable is undefined) When we get error, it is like

do 
 spamWarning('...') 
while (true)

Example repository with one command to reproduce bug: https://github.com/bazuka5801/quasar-bug-avoid

To Reproduce Steps to reproduce the behavior:

  1. quasar create --branch next (with ts + composition api)
  2. quasar upgrade -i (for latest updates)
  3. Write in Index.vue (template section) some mistake (ex. {{ someError }})
// Stack overflow scenario (modes)
quasar dev -m cordova -T ios
quasar dev -m capacitor -T ios

// Expected scenario
quasar dev

Expected behavior image

Screenshots image

Platform (please complete the following information): Quasar Version: 2.0.0-beta.12 @quasar/app Version: 3.0.0 beta.15 Quasar mode:

  • Cordova
  • Capacitor

Tested on:

  • SPA
  • Electron
  • Cordova
  • Capacitor

OS: Mac OS Node: 14 Yarn: Latest Browsers: Chrome, WebKit iOS: 12

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
rstoenescucommented, Apr 26, 2021

No time at the moment to fully investigate, but it’s somewhere in Vue + vue-loader and Capacitor’s way of dealing with errors. Will come back to this when time allows. Currently swamped with the upcoming Webpack 5 release. Will be able to finish my investigation on this ticket in the next days.

1reaction
diadalcommented, Apr 26, 2021

now i get your point

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build error in Android Studio for Ionic/Capacitor project when ...
I came across an error building the app in Android Studio after I added ... npm install cordova-background-geolocation-plugin > npx cap sync.
Read more >
Capacitor vs Cordova - Ionic Enterprise Reference Guide
Capacitor treats your native projects as actual source artifacts you check into source control and can fully edit, making it simple to install...
Read more >
Cannot finish Capacitor 4 migration due to build error
There was a bug on the migrate command that has been fixed but not released yet that causes the variables.gradle to be broken...
Read more >
bug: Task :capacitor-cordova-android-plugins ... - GitHub
[capacitor] ✖ Running Gradle build - failed! [capacitor] [error] WARNING:: Using flatDirs should be avoided because it doesn't support any meta ...
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