No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    ~~Do not upgrade to Vue 2.4.x (yet)~~ Edit: Safe to upgrade

    Announcements
    21
    43
    19932
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rstoenescu
      rstoenescu Admin last edited by rstoenescu

      Vue 2.4/2.5 currently has a bug, do not upgrade to it yet.
      For more information: https://github.com/quasarframework/quasar/issues/710

      EDIT: It is now safe to upgrade, but you need to upgrade both Quasar (to at least v0.14.5) and Vue to v2.5

      1 Reply Last reply Reply Quote 0
      • J
        JCharante last edited by JCharante

        According to @murbanowicz, QTab isn’t working either.

        And for those out of the loop, the default quasar template has been modified to stick to Vue 2.3.x as of 5986e99, so if you know anyone having an issue with certain components they probably need to downgrade.

        Looks like we’re waiting for vuejs/vue#6093 to be resolved.

        P 1 Reply Last reply Reply Quote 0
        • P
          pd76 @JCharante last edited by

          https://github.com/vuejs/vue/pull/6107

          1 Reply Last reply Reply Quote 1
          • J
            JCharante last edited by

            And now we wait for vue 2.4.2!

            1 Reply Last reply Reply Quote 0
            • S
              spectrolite last edited by

              Am I correct in understanding that the issue is now resolved, but since it s been committed to dev, it would work only on vuejs edge?

              yyx990803 merged commit f41773f into dev 1 day ago

              1 Reply Last reply Reply Quote 1
              • LaurentPayot
                LaurentPayot last edited by

                Updated vue and vue-template-compiler to ^2.4.2. , and got lots of warnings [Vue warn]: Injection "__field" not found and [Vue warn]: Avoid using non-primitive value as key, use string/number value instead.

                If I update vue-loader to ^13.0.2 with webpack 3 as well as 2 my app wont start:

                [Vue warn]: Failed to mount component: template or render function not defined.
                
                found in
                
                ---> <Anonymous>
                       <Root>
                
                1 Reply Last reply Reply Quote 0
                • N
                  niklaszantner last edited by

                  I can confirm @LaurentPayot, even with https://github.com/vuejs/vue/issues/6093 fixed in vue 2.4.2 the described error still occurs.

                  1 Reply Last reply Reply Quote 0
                  • F
                    fabiozinid last edited by

                    (Vue 2.4.1) I got that error too: [Vue warn]: Injection “__field” not found and [Vue warn]: Avoid using non-primitive value as key, use string/number value instead.

                    1 Reply Last reply Reply Quote 0
                    • S
                      spectrolite last edited by spectrolite

                      To revert to vue 2.3.4 (ie. the latest 2.3.x)

                      1. locate the vue folder in your node_modules folder and delete it.
                      2. open your app’s package.json and set the vue version to 2.3.4, excluding major versions, like so:
                      "vue": "~2.3.4"
                      
                      1. run npm i in your app’s folder
                      2. (optional, but recommended) run quasar dev, open your app in Chrome and use Vue-tools to check for the currently used Vue.js version.

                      Tilde (~) means it will NOT automatically get upgraded to the next minor version (eg. the current 2.4.2 which still has a bug preventing quasar from running).
                      The usual caret (^) meant we would automatically upgrade to minor versions like 2.4.x, 2.5.x etc. up to but excluding the next major versions (3.x.x etc)

                      Bullet point 4 is also a good way to know which Vue version is really running even before decide to you attempt the fix, since your app’s package.json can be deceiving, and fishing Vue’s package.json file out of node_modules to look for the version is quite annoying.

                      And soon we’ll have an even better way of checking Vue’s actual version through quasar version wink @rstoenescu @s.molinari @JCharante

                      1 Reply Last reply Reply Quote 2
                      • D
                        dsl101 last edited by

                        For info - I had to pin vue-template-compiler to 2.3.4 as well - without that, I got a version mismatch when running quasar dev.

                        1 Reply Last reply Reply Quote 1
                        • rstoenescu
                          rstoenescu Admin last edited by

                          Working with the Vue guys to solve the [Vue warn]: Injection “__field” not found error. That’s last one before Vue 2.4 can be used.

                          1 Reply Last reply Reply Quote 2
                          • F
                            Fernando2684 last edited by

                            @rstoenescu please keep us informed about this issue 🙂 . QUasar looks pretty amazing and right now I am testing the v 14.

                            1 Reply Last reply Reply Quote 0
                            • rstoenescu
                              rstoenescu Admin last edited by

                              @Fernando2684 Yes, of course. Once the following PR goes into an official Vue build we’re set to go: https://github.com/vuejs/vue/pull/6322

                              1 Reply Last reply Reply Quote 0
                              • A
                                anthonybeckett last edited by

                                Thanks @rstoenescu , you save my day!!! We keep watching this topic.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  n.taddei last edited by

                                  @rstoenescu Any news about this?

                                  1 Reply Last reply Reply Quote 0
                                  • rstoenescu
                                    rstoenescu Admin last edited by

                                    Not yet. Waiting for Evan to push the PR…

                                    1 Reply Last reply Reply Quote 3
                                    • ssuess
                                      ssuess last edited by

                                      So, I saw there were new versions of Vue (2.4.3 and 2.4.4 even), so I went ahead and upgraded. But alas, I still have tons of [Vue warn]: Injection “__field” not found errors. Any ideas what to do?

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rv last edited by rv

                                        I am also getting similar warning when using AutoComplete [Vue warn]: Injection "__inputParent" not found. Is this related to same Vue issue? If not, I can open another post for help.

                                        [Vue warn]: Injection "__inputParent" not found
                                        
                                        found in
                                        
                                        ---> <QAutocomplete>
                                               <QInputFrame>
                                                 <QInput>
                                                   <QField>
                                        

                                        Vue: 2.4.2
                                        Quasar: 0.14.0

                                        N 1 Reply Last reply Reply Quote 0
                                        • rstoenescu
                                          rstoenescu Admin last edited by

                                          Yes it is. Any injection warning is the same issue.

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            rv last edited by

                                            Thank you for the response. Eagerly waiting for the fix… 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post