Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT error when compiling from path containing a space #6

Open
iant-ee opened this issue Mar 4, 2015 · 1 comment
Open

ENOENT error when compiling from path containing a space #6

iant-ee opened this issue Mar 4, 2015 · 1 comment

Comments

@iant-ee
Copy link

iant-ee commented Mar 4, 2015

We've got a C# project where the .less compilation isn't working for one of our developers (set as a build action on the .less file and working for other developers using the same project).

From what I can tell the problem is that his Windows username contains a space, so his checked out less file is at C:\Users\First Last\Documents\GitHub\Project\Project\Website\Content\less\project.less

The output he gets when building includes:
lessc: ENOENT, open 'C:\Users\First Last\Documents\GitHub\Project\Project\Website\Content\less\Last\Documents\GitHub\Project\Project\Website\Content\css\project.css.map'

My initial thought is that the "build from" parameter is not being quoted / escaped properly before being passed to the build script, but I'm not sure where that happens.

@ArryaLove
Copy link
Owner

@iant-tui, You might want to try upgrading the NuGet package. I am not getting this error anymore on my copy and I see that I am quoting all of the parameters. Does he have any special characters in his first or last name that could be causing the issue besides the space?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants