Mix ignores spaces in directory names, throws error
See original GitHub issue- Laravel Mix Version: 6.0.13
- Node Version 14.16.0
- NPM Version 6.14.11
- OS: Windows 10 Professional
Description:
When a project is in a directory containing a space, Laravel Mix can’t run.
If for example my project is in C:\My Projects\ProjectA, mix tries to execute mkdir 'C:\My'
.
Steps To Reproduce:
- Create a project in a directory containing a space. Update: with a space in the Windows uer directory
- Try running Laravel Mix.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Can't get to files with multiple consecutive spaces at the end of ...
Answer 2 using alt 0160 still throws the can't find part of the path error. Answer 3 is basically an opinion and doesn't...
Read more >Solved: Folder names not working with spaces (sometimes!)
I have finally managed to fix this by typing the path into notepad, and then copy/paste into the "Folder Path" box. Final question,...
Read more >no-irregular-whitespace - ESLint - Pluggable JavaScript Linter
Invalid or irregular whitespace causes issues with ECMAScript 5 parsers and also makes code harder to debug in a similar nature to mixed...
Read more >Trap and fix errors in your VLOOKUP in Google Sheets
If you see the #NAME? error, you either wrote the function name incorrectly (missed or misspelled a letter or two) or got mixed...
Read more >Remove Extra Spaces From a String in JavaScript or Node.js
Expand the whitespace selection from a single space to multiple using the \s+ RegEx. Combine the string.replace() method and the RegEx and ...
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
hmm okay I’ll take a look
Oh wow this is good to know. I wasn’t aware of that behavior. That’ll be a good thing for us to document.