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

    How to use concurrently module for running server and client simultaneously

    Help
    2
    4
    215
    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.
    • I
      igor_local last edited by

      hi everyone!
      In my project i broke backend (server folder) with Express REST API on port http://localhost:3000/ and frontend (client folder) with Quasar on port http://localhost:8080/. So, i try to run both simultaneously with concurrently module.
      But i have an error: ‘Unknown command “dev”’. I tried i to use ‘npm run start’ but there is no such file index.js in the client/index.js.

      This is a package.json in server directory:
      package.json

      I used this method in Angular project before and it worked perfectly.
      Please tell me the right solution. Thank you

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

        @igor_local did you run the
        npm install command before attempting to raise the application?

        I 1 Reply Last reply Reply Quote 0
        • I
          igor_local @patryckx last edited by

          @patryckx
          yes, sure.
          Actually my question is - where is the index.js file that running the Quasar app?

          1 Reply Last reply Reply Quote 0
          • I
            igor_local last edited by

            Yes, i found the solution. If someone wants to use this module you need to run the script from the directory Client (where is Quasar), then it works properly

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