You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understood correctly the issue should be resolved by using the latest nuxt build, but doesn't seem to: When visiting an unknown route - even if having an error.vue in root - the message [Vue Router warn]: No match found for location with path is printed several times (I couldn't find a correlation between the amount of pages and log entries, sometimes it seems to be 4 times, other times it's about 15x). That happens in the development environment, and in the production build.
Additional context
The Dockerfile building the production image:
FROM node:21 AS builder
WORKDIR /app
COPY package.json /app
COPY yarn.lock /app
COPY .yarnrc.yml /app
RUN yarn set version stable ; yarn set version 3.x
RUN yarn install
ADD . /app
RUN yarn build
FROM node:21-alpine
WORKDIR /app
COPY --from=builder /app/.output /app/.output
EXPOSE 3000
ENTRYPOINT ["node", ".output/server/index.mjs"]
Logs
The part of the example log from production where some crawlers try to find security issues:
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/plugins/wp-automatic/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-admin/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/wp-content/themes/twentytwentytwo/inputs.php"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/.env"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
[Vue Router warn]: No match found for location with path "/wp-content/themes/rehub-theme/icons/modulobox.svg"
The text was updated successfully, but these errors were encountered:
Environment
Basically everywhere, on my windows development machine:
And in the production docker image using node-20 / node-21 alpine where I can only provide the nitro.json:
Reproduction
Basically a new project from the template using the vue-router and a page, but for the sake of simplicity:
https://stackblitz.com/edit/github-hmpfds?file=app.vue
Describe the bug
Relates #26425 + #26519
If I understood correctly the issue should be resolved by using the latest nuxt build, but doesn't seem to: When visiting an unknown route - even if having an error.vue in root - the message
[Vue Router warn]: No match found for location with path
is printed several times (I couldn't find a correlation between the amount of pages and log entries, sometimes it seems to be 4 times, other times it's about 15x). That happens in the development environment, and in the production build.Additional context
The Dockerfile building the production image:
Logs
The text was updated successfully, but these errors were encountered: