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.

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:

  1. Create a project in a directory containing a space. Update: with a space in the Windows uer directory
  2. Try running Laravel Mix.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
thecrypticacecommented, Mar 12, 2021

hmm okay I’ll take a look

0reactions
thecrypticacecommented, Mar 12, 2021

Oh wow this is good to know. I wasn’t aware of that behavior. That’ll be a good thing for us to document.

Read more comments on GitHub >

github_iconTop 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 >

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