error in compile ..... why ?
-
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
-
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. -
@metalsadman
but it was working and the error occurred when I added a new page in the admin folder -
well i only suggesting what your error log tells you. so nope i don 't have power to guess what’s wrong there lol.
-
@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
the page : user.vue
Adding Webpack aliases : empty
the page in the browser
-
@metalsadman
in the components / lookup folder, there are no registration errors …everything is fine here