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

    Problem with quasar init command

    Help
    init quasar-cli
    3
    3
    1716
    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.
    • M
      mattiabilla last edited by

      Hi guys, I tried to create a new project with the init command but I got an error:

      app:init Something went wrong… Try running the “vue init” command above manually.
      app:init Reasons for failure: Package vue-cli not installed globally, specified template is unavailable or it failed to download.

      I followed exactly the steps in the documentation and in this video https://www.youtube.com/watch?v=2yahKIy2h8U

      I also tried to uninstall node but I got the same issue.

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

        I ran into this same problem. I had vue CLI installed (3.0.0-beta.16), was following the basic steps at https://quasar-framework.org/guide/index.html.

        My error was:
        add:init Reasons for failure: Package @vue/cli and @vue/cli-init are not installed globally, specified template is unavailable or it failed to download.

        I added cli-init via $ yarn global add @vue/cli-nit. Once that was done, re-running $ quasar init [project-name] worked for me and a new project was successfully setup.

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

          Thx @somascope! BTW, some related issues exist: https://github.com/quasarframework/quasar/issues/2091

          EDIT: finally the documentation asks to install @vue/cli and @vue/cli-init when using init command: https://quasar-framework.org/guide/quasar-cli.html#init-Create-Project-Folder

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