Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(node:21202) UnhandledPromiseRejectionWarning: URIError: URI malformed #5860

Closed
7 tasks done
Rainmen-xia opened this issue Nov 27, 2021 · 4 comments
Closed
7 tasks done

Comments

@Rainmen-xia
Copy link

Describe the bug

image

image

Reproduction

hard to reproduction

System Info

mac node v14.11.0
    "vite": "^2.6.14",
        "vite-plugin-vue2": "^1.9.0",

Used Package Manager

npm

Logs

(node:28221) UnhandledPromiseRejectionWarning: URIError: URI malformed
    at decodeURI (<anonymous>)

Validations

@github-actions
Copy link

Hello @Rainmen-xia. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

@zoy-l
Copy link

zoy-l commented Dec 9, 2021

Have the same error...

"vue": "^3.2.23",
"vue-router": "^4.0.12"
"vite": "^2.7.1",
"@vitejs/plugin-vue": "^1.10.2",

@Niputi
Copy link
Contributor

Niputi commented Dec 9, 2021

@l-zoy open a new issue with a reproduction

@lukascivil
Copy link

lukascivil commented Dec 9, 2021

Same problem here! (no time to open an issue reporting, but im here)
Using version v2.6.14 works fine, but after upgrading to v2.7.1 I run into this problem.

image

This solve my problem

(before)
image

(after)
image

I believe that even if there is a wrong url, vite shouldn't break, but be resilient.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants