question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spaces/special characters in complete project path cause `ERR_INVALID_URL_SCHEME` vite error

See original GitHub issue

Environment


  • Operating System: Windows_NT
  • Node Version: v16.16.0
  • Nuxt Version: 3.0.0
  • Nitro Version: 1.0.0
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

image

Describe the bug

Error when I use run dev

Additional context

No response

Logs

500
[vite-node] [ERR_INVALID_URL_SCHEME] /node_modules/ufo/dist/index.mjs

at /node_modules/ufo/dist/index.mjs

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:19
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
danielroecommented, Nov 29, 2022

This should be resolved in ufo v1.0.1. which you can get with npx nuxi upgrade.

Let me know if not and I’ll reopen.

3reactions
manniLcommented, Nov 18, 2022

This seems to be an issue when having “special characters” that have to be URL-encoded in the path. Could be umlauts like öäü, spaces and more.

@danielroe Could you add that to the issue?

Slightly related: #8706

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Vite
Error : Cannot find module 'C:\foo\bar&baz\vite\bin\vite.js' #. The path to your project folder may include & , which doesn't work with npm on...
Read more >
VS unable to open project with some special characters in the ...
Some projects in the solution open fine, ASP.NET MVC projects fail to load with differening errors about missing files regarding targets. Unit Testing...
Read more >
Prevent file import errors caused by special characters or ...
When you import a file of contacts, we recognize characters that are common to email addresses, such as: Capital letters (A - Z) ......
Read more >
Do not allow special characters in new project names - GitLab
An error occurred while retrieving approval data for this merge request. Do not allow special characters in new project names.
Read more >
Using URL encoding to handle special characters in a ...
The <space> character needs to be encoded because it is not a valid URL character. Also, some characters, such as "~" might not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found