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

    error in compile ..... why ?

    Framework
    2
    6
    374
    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.
    • E
      eloy.silva last edited by

      ERROR Failed to compile with 1 errors 17:38:50
      This dependency was not found:

      • admin/user.vue in ./src/router/routes.js

      To install it, you can run: npm install --save admin/user.vue

      user-compile.jpg

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

        your admin directory is probably not defined, either put it your file in the predefined quasar folder aliases (components/pages/etc…)https://quasar.dev/quasar-cli/cli-documentation/handling-webpack#Webpack-Aliases or define one https://quasar.dev/quasar-cli/cli-documentation/handling-webpack#Adding-Webpack-aliases, or use absolute/relative paths.

        E 1 Reply Last reply Reply Quote 0
        • E
          eloy.silva @metalsadman last edited by

          @metalsadman
          but it was working and the error occurred when I added a new page in the admin folder

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

            well i only suggesting what your error log tells you. so nope i don 't have power to guess what’s wrong there lol.

            E 2 Replies Last reply Reply Quote 0
            • E
              eloy.silva @metalsadman last edited by eloy.silva

              @metalsadman said in error in compile ..... why ?:

              well i only suggesting what your error log tells you. so nope i don 't have power to guess what’s wrong there lol.

              Hello, if you observe, replicate what I did before since I did not register any aliases

              folder : pages/admin

              01.jpg

              the page : user.vue

              02.jpg

              Adding Webpack aliases : empty

              03.jpg

              the page in the browser

              04.jpg

              1 Reply Last reply Reply Quote 0
              • E
                eloy.silva @metalsadman last edited by

                @metalsadman
                in the components / lookup folder, there are no registration errors …

                everything is fine here

                05.jpg

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