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

    Run dev error while running a new project.

    CLI
    12
    25
    3826
    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

      “The @quasar/app comes with npm install -g @ quasar/cli?” --> No… please join our Discord server. You’re doing something wrong and it will be faster to determine what it is.

      1 Reply Last reply Reply Quote 0
      • M
        marcelo.delta last edited by

        I’m doing this. A new project.

        And it does not work.

        What am I supposed to be doing wrong.

        Is something more necessary?

        npm install -g @quasar/cli
        quasar create app-mobile -b dev
        cd app-mobile
        quasar dev

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

          @marcelo-delta if you could contact me right away on Discord we’ll sort this out faster.

          thiwankaSL 1 Reply Last reply Reply Quote 0
          • M
            marcosvalens last edited by marcosvalens

            I have the same problem. I can start the proyect with quasar dev. But when I import some components like QAvatar or QCard I have the same problem. I have an upgraded version of Babel but still not working

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

              run

              rm .babelrc
              

              will fix this error

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

                Hi @marcelo-delta I’m having the same issue, did you find a solution ?

                I am just following the docs to set up a new project but quasar dev results in Unknown command “dev”.

                Using quasar v1, node 8.9.4, npm 6.10.1

                tlloyduk 1 Reply Last reply Reply Quote 0
                • tlloyduk
                  tlloyduk @tlloyduk last edited by

                  @tlloyduk reinstalling quasar and selecting the Yarn option during quasar create sorted this out for me. Seems it doesn’t like npm yet 🙂

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

                    After removing quasar cli, and installing @ qualsar / cli I get:

                    dd07d6c4-2aa4-4ce9-8784-d7ed4e250eb3-image.png

                    40e446e9-4ee6-41c5-a26b-334bbe299401-image.png

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

                      The solution was to install the latest version of node 10.16.1 LTS, reinstalled the CLI and everything started to work correctly.

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

                        I have same problem
                        Windows 10
                        Node js Version v12.18.4 * 64 bit

                        last time i remove my node module and re-install node module. but still inproblem

                        1 Reply Last reply Reply Quote 0
                        • thiwankaSL
                          thiwankaSL @rstoenescu last edited by

                          @rstoenescu can i take some help ?

                          metalsadman 1 Reply Last reply Reply Quote 0
                          • metalsadman
                            metalsadman @thiwankaSL last edited by

                            @thiwankaSL use yarn for local deps as suggested.

                            thiwankaSL 2 Replies Last reply Reply Quote 0
                            • thiwankaSL
                              thiwankaSL @metalsadman last edited by

                              @metalsadman can explain

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

                                what is the reason for this case? installed windows 10 last Night and after installation i clone project from git repository and npm install and quasar cli also install globally . after faced this issue . what is the reason and how i resolve this error . let me know .

                                dobbel 1 Reply Last reply Reply Quote 0
                                • dobbel
                                  dobbel @thiwankaSL last edited by

                                  @thiwankaSL

                                  You are not following the advice of @metalsadman: using yarn for project dependencies. Don’t expect people to help you when you ignore their posts.

                                  thiwankaSL 1 Reply Last reply Reply Quote 0
                                  • thiwankaSL
                                    thiwankaSL @metalsadman last edited by

                                    @metalsadman thanks

                                    1 Reply Last reply Reply Quote 0
                                    • thiwankaSL
                                      thiwankaSL @dobbel last edited by

                                      @dobbel thanks i followed advice but still having problem.

                                      dobbel 1 Reply Last reply Reply Quote 0
                                      • dobbel
                                        dobbel @thiwankaSL last edited by

                                        @thiwankaSL

                                        What is your exact problem?

                                        1. Please post the command( like quasar dev) and console output when it fails.

                                        2. Also please post the output of the command quasar info

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

                                          I spent hours on this error changing node and quasar versions etc. I always used yarn and never this error until now.
                                          For me @bigzhu 's suggestion worked - simply removing .babelrc which I believe should never have been there.
                                          I think I was reusing a previous project dir after clearing it out first with rm -rf * which I now know doesn’t include .hidden files!

                                          1 Reply Last reply Reply Quote 1
                                          • P
                                            pospi last edited by

                                            Hi I have same problem , remove .babelrc dont work , also the other things that you here recommended. Please help.

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