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
    17764
    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.
    • 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
                                    • maximilianfixl
                                      maximilianfixl last edited by

                                      Update vue to 2.4.4 and it will be fixed. So I my case it is fixed.
                                      https://github.com/vuejs/vue/releases

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

                                        2.4.4 definitely does not fix this issue, at least not for me.

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

                                          2.4.4 does not fix for me too.

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

                                            https://github.com/vuejs/vue/pull/6322 this needs to get into an official release. As Evan told me, this is a new feature so it will go into Vue 2.5.
                                            Please stand-by for my announcement.

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