Cannot build with directories that includes "#" [Windows 10]
See original GitHub issueDescribe 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 (fromyarn.lock
orpackage-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:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+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.
👋, It’s producing the same error for empty src = “”