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.

Cannot build with directories that includes "#" [Windows 10]

See original GitHub issue

Describe the bug

Cannot build on a new project with vite in a directory whose name has a “#”. Example: “#vue/ViteExample”. It totally work if I remove the “#” from the directory. If you wonder why I use those folder names, just to see them at the top of the list when rearrange by Name.

Reproduction

Start a new project with the directory containing an initial hashtag like the example above. I did’t test with others allowed special characters.

System Info

  • required vite version: 1.0.0-rc.1
  • required Operating System: Windows 10
  • required Node version: 10.16.2
  • Optional:
    • npm v6.13.6
    • Installed vue version (from yarn.lock or package-lock.json): 3.0.0-rc.1
    • Installed @vue/compiler-sfc version: 3.0.0-rc.1

Logs (Optional if provided reproduction)

vite v1.0.0-rc.1

  • Building for production… [vite] Build errored out. { [Error: EISDIR: illegal operation on a directory, read] errno: -4068, code: ‘EISDIR’, syscall: ‘read’ } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! tailwind@0.0.0 build: vite build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the tailwind@0.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Just want to call out for this small thing only. Sorry if its bothersome. Thanks you for all your work!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vipindigiqtcommented, May 3, 2021

+1

I was on vanilla vite and had 2 occurrences of src=" " on and <img> tag and it didn’t let me build the files for production.

I removed the image, it worked smoothly.

1reaction
HeyProtagonistcommented, Mar 12, 2021

👋, It’s producing the same error for empty src = “”

src=""
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Create a New Folder in Windows 10? Here's How to Fix It
Press Ctrl + Shift + Esc to bring up Task Manager. Open the Processes tab. · Go to File > New task. ;...
Read more >
Cannot create a new folder Windows 10 - Microsoft Community
1. Search for 'command prompt' using Cortana or Windows Search. · 2. From results, right-click on Command Prompt and select Run as administrator....
Read more >
"Windows cannot access the specified device, path, or file ...
Method 1: Check the permission of the file or folder. Note Make sure you are an Administrator or you are part of the...
Read more >
Can't access shared folders from File Explorer - Windows Client
Provides troubleshooting for the issue that shared folders can't be accessed from File Explorer in Windows 10.
Read more >
"Access Denied" or other errors when you access or work with ...
Issue 3: You cannot open a file or folder after you install a new version of Windows. Resolution. To resolve a particular issue,...
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