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

Incorrect errors from less compilation #1170

Closed
kingmotley opened this issue Jun 9, 2014 · 60 comments
Closed

Incorrect errors from less compilation #1170

kingmotley opened this issue Jun 9, 2014 · 60 comments

Comments

@kingmotley
Copy link
Contributor

We have a common less file that gets imported to many different less files, and we get strange errors when building. Such as:
6/9/2014 9:57:25 AM: LESS: tripstarterslincoln.less compiled.
6/9/2014 9:57:26 AM: LESS: tripstartersCulinary.less compiled.
6/9/2014 9:57:26 AM: LESS: traveldeals.responsive.less compiled.
6/9/2014 9:57:26 AM: LESS: tripstarterslincoln.less compilation failed: FileError: 'tripstartercommon.less' wasn't found
6/9/2014 9:57:26 AM: LESS: tripstartercommon.less compiled.
6/9/2014 9:57:26 AM: LESS: tripstarterschicago.less compiled.
6/9/2014 9:57:26 AM: LESS: tripstartersroute66.less compilation failed: FileError: 'tripstartercommon.less' wasn't found
6/9/2014 9:57:26 AM: LESS: tripstartersoutdoor.less compilation failed: FileError: 'tripstartercommon.less' wasn't found
6/9/2014 9:57:26 AM: LESS: tripstarterschicago.less compilation failed: FileError: 'tripstartercommon.less' wasn't found
6/9/2014 9:57:26 AM: LESS: tripstarterslgbt.less compilation failed: FileError: 'tripstartercommon.less' wasn't found

Notice that tripstarterslincoln.less compiled fine, then 3 lines later, it complains that it failed to compile because it couldn't find tripstartercommon.less, which it then finds and compiles on the very next line. Similar thing for tripstarterschicago.less, but in a different order.

@SLaks
Copy link
Collaborator

SLaks commented Jun 9, 2014

Beware of relative paths.

@kingmotley
Copy link
Contributor Author

We have no path information at all in the less files. They are all contained in one folder (content).

Are you suggesting the includes all need to be relative to the base of the project even if they are all contained in the same folder together (./content/my.less), or worse and use absolute paths (C:\Users\me\documents\project\content\my.less)?

@am11
Copy link
Contributor

am11 commented Jul 22, 2014

@kingmotley, we have recently overhauled the entire way of dealing with node-based services. Please upgrade to VS2013 Update 3 RC, which is the prerequisite for the latest nightly build v2.2.7.

If this fixes the issue, please consider closing it.

Thanks.

@kingmotley
Copy link
Contributor Author

Will take a look at it, but likely won't be able to revisit this until Update 3 Final is released. I don't have a test dev box set up, and I'm leery of installing Update 3 prior to a final release and we are in the middle of a small crunch time.

@ehorodyski
Copy link

Can reproduce with VS2013 Update 3 final release, using nightly build of Web Essentials. Same issue, as posted in screenshot below. Running VS2013 Update 2 with WE 2.2.6 worked well; I wanted to grab the nightly but realized 2.2.7 needed Update 3 RC and by the time I got around to updating VS2013 the full release was already out, then starting with WE 2.2.7 the compilation seems to break when you import a lot of files. For reference, 'reference.less' imports 3 files but compiles fine.

Error running VS2013 with WE 2.2.7 nightly build:
8-7-2014 10-16-14 pm

@ehorodyski
Copy link

Yessir, updated comment for clarity.

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

Cool. Will take a look :)

@ehorodyski
Copy link

For reference, attached is a screenshot of a less @import heavy LESS file compiling correctly, VS2013 Update 3 WE 2.2.7 nightly build:

2

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

@ehorodyski can you make a sample project so we can test?

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

Here is how I tested:

Site.less is a glue file:

site

library/one.less:

one

references/two.less:

two

references/random/three.less:

three

references/random/four.less:

four

references/random/five.less:

five

@ehorodyski
Copy link

Give me a few moments to upload my source to GitHub. I'm much more familiar with TFS so it's taking longer than I had hoped. You will need many more files :-), also I have source mapping off.

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

👍

@ehorodyski
Copy link

Whew. I need to brush up on my GitHub 😳
Try downloading from here: https://github.com/ehorodyski/web-essentials-test-solution/tree/test

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

Thanks. 👍

And I need to brush up my TFS concepts 😄

As I was suspecting, it turned out to be a syntax error: change this to:

@import (reference) '../references/references.less';

and all the url() occurrences of less import.

SASS compiler strictly consider @import url(..) as CSS3 import. LESS' is kind enough to check the extension. But in deep nesting cases, it expect user to abide by recommended syntax:

@import <(optional modifier)> 'file-path-with-or-without-extension-enclosed-in-single-or-double-quotes'

See imports in docs.

HTH

@ehorodyski
Copy link

Wow. Excellent find. How utterly inconsistent since most of my files don't use url(). Worked like a charm. Thank you for your help! Glad it's not a bug...I wonder when the change was made to LESS so that it stopped working the way I had it. Oh well...no use wondering now. Thanks again.

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

@ehorodyski,

Actually, we have a prebuild task, which fetches the latest node.js packages every time WE's code is compiled (after the user manually deletes Resources\nodejs folder, before the build).

This way our services keep up to date.

@SLaks, on that note, there are some packages with really long paths, PreBuild throws Path Too Long exception for EnumerateDirectories. Mads and I are compiling it from C:'s root. Matter of time someone adds more nested stuff and 260 limit exceed even from the drive root. I think we need to find some alternative to EnumerateDirectories and other methods to avoid this exception. (kernel32 has this method which ignores the path size defense, don't know what's the alternative/wrapper in .NET)

@SLaks
Copy link
Collaborator

SLaks commented Aug 8, 2014

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

Guys v2.3 stable version is just released, check it out.

@SLaks, thanks for the link.

The exception is thrown at

foreach (var module in nodeModules.EnumerateDirectories())
, when L215's lazy loading kicks in.

When I type System.IO.L... it shows LongPath only in PreBuild.cs.
Although its has LongPathDirectories, but the method LongPathDirectories.EnumerateDirectories() is missing, which is the one we need. It has a different set of methods. Here is the online reference: http://www.dotnetframework.org/default.aspx/4@0/4@0/untmp/DEVDIV_TFS/Dev10/Releases/RTMRel/ndp/clr/src/BCL/System/IO/LongPath@cs/1305376/LongPath@cs (none of MSDN!)

But at the same time, System.IO.LongPath* are unavailable when we try other files.

Do you suggest to download and use BCL team's long path downloaded from CodePlex? Microsoft.Experimental.IO.LongPathDirectories

@SLaks
Copy link
Collaborator

SLaks commented Aug 8, 2014

System.IO.LongPath is an internal class (http://referencesource.microsoft.com/#mscorlib/system/io/longpath.cs); it's used by IsolatedStorageFile.

You're seeing it in PreBuildTask.cs because it isn't part of the project, so IntelliSense does not filter on access levels. Calling it won't actually compile.

You should use the one from CodePlex; you'll need to edit the csproj to make it referenced by the pre-build task. (do not add it as a reference using VS)

@SLaks
Copy link
Collaborator

SLaks commented Aug 8, 2014

You can also use https://github.com/peteraritchie/LongPath; I have not used either one.

@kingmotley
Copy link
Contributor Author

Seems most of the errors went away, but now we can't compile one of our less files any longer. It's an exact copy from here: https://github.com/neoziro/less-hidpi/blob/master/hidpi.less

We also get many errors about not being able to find this file, which may be because it can't compile it any longer. Not sure.

@kingmotley
Copy link
Contributor Author

Apparently the problem isn't related to the content of the file. Creating even a brand new less file with nothing but "body{}" is returning the same error message: "8/8/2014 3:02:34 PM: LESS: test1.less compilation failed: LESS: Unexpected token u"

@madskristensen
Copy link
Owner

Sounds like a UTF-8 issue with BOM. Try to save the .less file with UTF-8 without signature

@kingmotley
Copy link
Contributor Author

Maybe it is, but it's not coming from the LESS file. I've tried opening it in notepad, in textpad, saving in UTF-8, ANSI. Even creating a brand new less file does the same thing (right click on content folder, add, LESS stylesheet, type 'test2'). Get a window on left saying "body {}", window in right saying "/*

Compilation Error occurred (see error list to navigate to the error location):
Error found:

*/", and an output window below saying "8/8/2014 3:36:05 PM: LESS: test2.less compilation failed: LESS: Unexpected token u"

@madskristensen
Copy link
Owner

Did you save it as "UTF-8 (without signature)"?

@kingmotley
Copy link
Contributor Author

Same issue to second co-workers machine that just upgraded to Update 3, WE for Update 3 just an hour ago.

@kingmotley
Copy link
Contributor Author

I assume it was trying to because when I click save's drop down, there is no option for without signature, just with encoding. And this isn't something we've done in the past.

@kingmotley
Copy link
Contributor Author

Yes, tried with "Unicode (UTF-8 without signature) - Codepage 65001", no effect. Uninstalling and reinstalled WE 2.3 also had no effect.

@madskristensen
Copy link
Owner

The option is all the way at the bottom of the list almost. Not easy to find

@madskristensen
Copy link
Owner

@am11 Do you have any idea what to do here?

@kingmotley
Copy link
Contributor Author

Uninstalled resharper 8.2 had no effect.

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

Also, please disable source-map generation from LESS options under WE and try.

Normally, its a JSON error: "Unexpected token u".

@kingmotley
Copy link
Contributor Author

Changing "Create source map files" and "Process source maps" for LESS to false had no effect.

@kingmotley
Copy link
Contributor Author

Not solution related either. Created a brand new solution, added a brand new LESS file, and it reports "8/8/2014 4:22:04 PM: LESS: test3.less compilation failed: LESS: Unexpected token u"

@ehorodyski
Copy link

@kingmotley: Hopefully you and your team aren't on such a short time squeeze.

I have two steps that I always try:

  1. Make sure the solution files aren't read-only from Windows explorer. This trips up my projects many times, though I can only count one instance where WE couldn't reach my file because it was read-only. For whatever reason, TFS seems to constantly put your files in read-only mode when working in Visual Studio.

  2. Looks like you already tried, but try deleting the old LESS file (not before saving the contents in a spare file!) and see if pasting the code in that new file helps. Again, looks like you tried it but it doesn't mean I won't recommend it to anyone else!

@kingmotley
Copy link
Contributor Author

Yeah, tried those. I'm spinning up a brand new dev box in Azure to see if it has the same issue

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

We can diagnose the problem by injecting some old-fashioned file.write lines in less service JS file.

Incidentally, are you getting this issue with other compilers (SASS, CoffeeScript, SweetJS, LiveScript) too?

@kingmotley
Copy link
Contributor Author

Not sure about the other compilers as we don't use them. The brand new dev instance did not seem to exhibit the same behavior. Thanks MS for including a prebuilt VS 2013 update 3 image by the way!

@kingmotley
Copy link
Contributor Author

Unfortunately, my time has run out. Will investigate more on Monday.

@am11
Copy link
Contributor

am11 commented Aug 8, 2014

@SLaks, thanks for the links. I tried the github one. Added it as a package. Now, its giving me error because I can't reference Pri.LongPath.dll as <Reference> under <task> doesn't allow nested <HintPath>: http://stackoverflow.com/q/23918413

I tried copy the dll to $(MSBuildToolsPath) using copy task, but access is denied.
I installed another package MSBuildTasks for GACUtil to install it to GAC, again access is denied.

Should we use Reflection instead? Admittedly, that would be very untidy workaround.. Is there a better way?

@SLaks
Copy link
Collaborator

SLaks commented Aug 10, 2014

Is that a compiler error or a runtime error?
What is the exact error and FusionLog?

You may be able to make it work by calling Assembly.LoadFile().

@am11
Copy link
Contributor

am11 commented Aug 10, 2014

Its the compile time error.

I reverted the code changes, will try to reproduce and capture logs from fuslogvw.

Yes; Assembly.LoadFile() would be a viable option for reflection, will give it a go. :)

@am11
Copy link
Contributor

am11 commented Aug 11, 2014

@SLaks, its fixed via am11@66a41d6.

Just used reflection where it was causing the issue.

@kingmotley
Copy link
Contributor Author

Well after trying some more things, it appears that I'm getting the error message because there is no output. The code https://github.com/neoziro/less-hidpi/blob/master/hidpi.less and the default less file should produce a 0 byte css file but instead reports "8/11/2014 10:11:35 AM: LESS: test3.less compilation failed: LESS: Unexpected token u". As soon as I add a property to the body selector, it compiles correctly without an error message.

@kingmotley
Copy link
Contributor Author

Trying to track back where the error is coming from, it appears to come from the node server, but it appears WE is making requests to the node server trying to get something from the root, and the node server is failing as well. I see many of these requests come and get errors returned. Not sure if that is normal either.

GET / HTTP/1.1
origin: web essentials
user-agent: web essentials
web-essentials: web essentials
auth: RrjPsKOIATd/yAM2BwezLYB+xEGdDV3kjRWXj85A6Qc=
Host: 127.0.0.1:18356
Connection: Keep-Alive

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 11 Aug 2014 17:48:00 GMT
Connection: keep-alive
Transfer-Encoding: chunked

20c
{"Success":false,"Remarks":"TypeError: Cannot call method 'toLowerCase' of undefined\n    at Server.onRequest (C:\\Users\\rmckee\\AppData\\Local\\Microsoft\\VisualStudio\\12.0\\Extensions\\n51vx54l.h4z\\Resources\\nodejs\\tools\\server\\we-nodejs-server.js:111:70)\n    at Server.emit (events.js:98:17)\n    at HTTPParser.parser.onIncoming (http.js:2108:12)\n    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)\n    at Socket.socket.ondata (http.js:1966:22)\n    at TCP.onread (net.js:527:27)"}
0

GET /?service=LESS&sourceFileName=C:%5CDropbox%5Cenjoy2%5Cenjoy2%5Ccontent%5Chidpi.less&targetFileName=C:%5CDropbox%5Cenjoy2%5Cenjoy2%5Ccontent%5Chidpi.css&mapFileName=C:%5CDropbox%5Cenjoy2%5Cenjoy2%5Ccontent%5Chidpi.css.map&sourceMapURL&autoprefixer&autoprefixerBrowsers=IE%20%3E=%209,%20last%202%20ff%20versions,%20last%202%20Chrome%20versions,%20last%202%20safari%20versions,%20last%202%20ios%20versions& HTTP/1.1
origin: web essentials
user-agent: web essentials
web-essentials: web essentials
auth: RrjPsKOIATd/yAM2BwezLYB+xEGdDV3kjRWXj85A6Qc=
Host: 127.0.0.1:18356

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 11 Aug 2014 17:48:00 GMT
Connection: keep-alive
Transfer-Encoding: chunked

190
{"Success":false,"SourceFileName":"C:\\Dropbox\\enjoy2\\enjoy2\\content\\hidpi.less","TargetFileName":"C:\\Dropbox\\enjoy2\\enjoy2\\content\\hidpi.css","MapFileName":"C:\\Dropbox\\enjoy2\\enjoy2\\content\\hidpi.css.map","Remarks":"LESS: Unexpected token u","Details":"Unexpected token u","Errors":[{"Message":"LESS: Unexpected token u","FileName":"C:\\Dropbox\\enjoy2\\enjoy2\\content\\hidpi.less"}]}
0

GET / HTTP/1.1
origin: web essentials
user-agent: web essentials
web-essentials: web essentials
auth: RrjPsKOIATd/yAM2BwezLYB+xEGdDV3kjRWXj85A6Qc=
Host: 127.0.0.1:18356

HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 11 Aug 2014 17:48:00 GMT
Connection: keep-alive
Transfer-Encoding: chunked
20c
{"Success":false,"Remarks":"TypeError: Cannot call method 'toLowerCase' of undefined\n    at Server.onRequest (C:\\Users\\rmckee\\AppData\\Local\\Microsoft\\VisualStudio\\12.0\\Extensions\\n51vx54l.h4z\\Resources\\nodejs\\tools\\server\\we-nodejs-server.js:111:70)\n    at Server.emit (events.js:98:17)\n    at HTTPParser.parser.onIncoming (http.js:2108:12)\n    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)\n    at Socket.socket.ondata (http.js:1966:22)\n    at TCP.onread (net.js:527:27)"}
0

@am11
Copy link
Contributor

am11 commented Aug 11, 2014

When I compiled https://github.com/neoziro/less-hidpi/blob/master/hidpi.less with WE v2.3, it produces no css file and in output it says: LESS: hidpi.less compiled.

@am11
Copy link
Contributor

am11 commented Aug 11, 2014

That is normal; when "Success":false," is found in return JSON, WE handles this case.
But its not normal when service=LESS is in URL if (!/^[a-zA-Z0-9_-]+$/.test(params.service)) is satisfied and subsequently line 111 throw exception!

@SLaks
Copy link
Collaborator

SLaks commented Aug 11, 2014

No; that exception was from a request to /.
I'm not sure why there is no stack trace from the original error.

@am11
Copy link
Contributor

am11 commented Aug 11, 2014

Yes you are right; / is the heartbeat check! :D

@kingmotley
Copy link
Contributor Author

hidpi

@kingmotley
Copy link
Contributor Author

And here is a brand new project doing the same thing:
wetest

@kingmotley
Copy link
Contributor Author

Ok, the problem goes away if I turn off the autoprefixer. So it appears it's a problem if you compile a LESS file that returns no results and you have the autoprefixer turned on. That should help track down what the issue is. The prefixer settings we are currently using is IE >= 9, last 2 ff versions, last 2 Chrome versions, last 2 safari versions, last 2 ios versions but also happens if you leave the browsers defaulting to blank as well.

@am11
Copy link
Contributor

am11 commented Aug 12, 2014

@kingmotley, it turned out to be a JSON parse issue. I am busy implementing another service; rtlcss and refactored that code (for sake of DRY). Can't say for sure if it has fixed your issue, but since it is narrowed down; fixing it should not be an issue. Nice catch BTW. 👍

@am11
Copy link
Contributor

am11 commented Aug 13, 2014

With #1396, this issue is also fixed. The problem was with parson invalid JSON produced by autoprefixer. The piece of code which was responsible for that has been removed now (it was to strip ../ from each paths in source-map's "sources" path array, which doesn't happen anymore).

@madskristensen, lets @kingmotley confirm it before this is closed. For that matter, should we have a nightly build at this point; v2.3.1?

@am11
Copy link
Contributor

am11 commented Aug 14, 2014

@kingmotley can you please test with v2.3.1 nightly to see if it's fixed?

@kingmotley
Copy link
Contributor Author

Tested with v2.3.3 nightly today, first rebuild threw a lot of errors about the rtlstuff. Building again was much cleaner. First build:

1>------ Rebuild All started: Project: enjoy2, Configuration: Debug Any CPU ------
1>  enjoy2 -> C:\Dropbox\enjoy2\enjoy2\bin\enjoy2.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
9/11/2014 2:09:23 PM: An exception was thrown when compilingC:\Dropbox\enjoy2\enjoy2\content\flexslider.custom.less: System.IO.IOException: The file 'C:\Users\rmckee\.rtlcssrc' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.GetOrCreateGlobalSettings(String fileName)
   at MadsKristensen.EditorExtensions.Less.LessCompiler.GetPath(String sourceFileName, String targetFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.<CompileAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.NodeCompilerRunner.<RunCompilerAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.CompilerRunnerBase.<CompileAsync>d__0.MoveNext()
9/11/2014 2:09:23 PM: An exception was thrown when compilingC:\Dropbox\enjoy2\enjoy2\content\bootstrap.less: System.IO.IOException: The file 'C:\Users\rmckee\.rtlcssrc' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.GetOrCreateGlobalSettings(String fileName)
   at MadsKristensen.EditorExtensions.Less.LessCompiler.GetPath(String sourceFileName, String targetFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.<CompileAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.NodeCompilerRunner.<RunCompilerAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.CompilerRunnerBase.<CompileAsync>d__0.MoveNext()
9/11/2014 2:09:23 PM: LESS: app.responsive.less compiled.
9/11/2014 2:09:23 PM: LESS: itimsmodule.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: miniabe_animation.less compiled.
9/11/2014 2:09:24 PM: LESS: oldbrowser.less compiled.
9/11/2014 2:09:24 PM: LESS: regions.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: thingstodo.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: travelguides.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: thingstododetails.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: site.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: seasonal.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: traveldeals.responsive.less compiled.
9/11/2014 2:09:24 PM: LESS: hidpi.less compiled.
9/11/2014 2:09:27 PM: LESS: oldbrowser.less compiled.
9/11/2014 2:09:27 PM: LESS: seasonal.responsive.less compiled.
9/11/2014 2:09:27 PM: LESS: thingstododetails.responsive.less compiled.
9/11/2014 2:09:27 PM: LESS: regions.responsive.less compiled.
9/11/2014 2:09:27 PM: LESS: app.responsive.less compiled.
9/11/2014 2:09:27 PM: LESS: itimsmodule.responsive.less compiled.
9/11/2014 2:09:27 PM: LESS: bootstrap.less compiled.
9/11/2014 2:09:28 PM: LESS: thingstodo.responsive.less compiled.
9/11/2014 2:09:28 PM: LESS: traveldeals.responsive.less compiled.
9/11/2014 2:09:29 PM: LESS: travelguides.responsive.less compiled.
9/11/2014 2:09:29 PM: LESS: miniabe.responsive.less compiled.
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:29 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:30 PM: LESS: ItimsModule.less compiled.
9/11/2014 2:09:30 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:30 PM: LESS: site.responsive.less compiled.
9/11/2014 2:09:30 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:30 PM: LESS: illinoisvideos.less compiled.
9/11/2014 2:09:30 PM: LESS: ThingsToDo.less compiled.
9/11/2014 2:09:30 PM: LESS: newIllinoisVideos.less compiled.
9/11/2014 2:09:30 PM: LESS: app.less compiled.
9/11/2014 2:09:30 PM: LESS: seasonal.less compiled.
9/11/2014 2:09:30 PM: LESS: travelguides.less compiled.
9/11/2014 2:09:30 PM: LESS: regions.less compiled.
9/11/2014 2:09:30 PM: LESS: home.responsive.less compiled.
9/11/2014 2:09:30 PM: LESS: TravelDeals.less compiled.
9/11/2014 2:09:30 PM: LESS: ThingsToDoDetails.less compiled.
9/11/2014 2:09:30 PM: LESS: Site.less compiled.
9/11/2014 2:09:31 PM: LESS: Home.less compiled.
9/11/2014 2:09:31 PM: LESS: tripstartercommon.less compiled.
9/11/2014 2:09:31 PM: LESS: miniabe.less compiled.
9/11/2014 2:09:31 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:32 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:32 PM: LESS: tripstarterschicago.less compiled.
9/11/2014 2:09:32 PM: LESS: tripstarterswine.less compiled.
9/11/2014 2:09:33 PM: LESS: tripstartersoffroad.less compiled.
9/11/2014 2:09:34 PM: LESS: tripstarterslgbt.less compiled.
9/11/2014 2:09:34 PM: LESS: tripstartersCulinary.less compiled.
9/11/2014 2:09:34 PM: LESS: tripstarterslincoln.less compiled.
9/11/2014 2:09:34 PM: LESS: tripstartersoutdoor.less compiled.
9/11/2014 2:09:35 PM: LESS: tripstartersfamilyland.less compiled.
9/11/2014 2:09:35 PM: LESS: tripstartersroute66.less compiled.
9/11/2014 2:09:35 PM: LESS: tripstartersmancation.less compiled.
9/11/2014 2:09:35 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:35 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:35 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:35 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:09:36 PM: An exception was thrown when compiling solution-wide LESS: System.IO.IOException: The file 'C:\Users\rmckee\.rtlcssrc' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.GetOrCreateGlobalSettings(String fileName)
   at MadsKristensen.EditorExtensions.Less.LessCompiler.GetPath(String sourceFileName, String targetFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.<CompileAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.NodeCompilerRunner.<RunCompilerAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.CompilerRunnerBase.<CompileAsync>d__0.MoveNext()
System.IO.IOException: The file 'C:\Users\rmckee\.rtlcssrc' already exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.GetOrCreateGlobalSettings(String fileName)
   at MadsKristensen.EditorExtensions.Less.LessCompiler.GetPath(String sourceFileName, String targetFileName)
   at MadsKristensen.EditorExtensions.NodeExecutorBase.<CompileAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.NodeCompilerRunner.<RunCompilerAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MadsKristensen.EditorExtensions.Compilers.CompilerRunnerBase.<CompileAsync>d__0.MoveNext()

subsequent builds looked more like this:

1>------ Rebuild All started: Project: enjoy2, Configuration: Debug Any CPU ------
1>  enjoy2 -> C:\Dropbox\enjoy2\enjoy2\bin\enjoy2.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
9/11/2014 2:16:28 PM: LESS: regions.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: bootstrap.less compiled.
9/11/2014 2:16:30 PM: LESS: thingstododetails.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: seasonal.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: traveldeals.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: miniabe_animation.less compiled.
9/11/2014 2:16:30 PM: LESS: thingstodo.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: itimsmodule.responsive.less compiled.
9/11/2014 2:16:30 PM: LESS: hidpi.less compiled.
9/11/2014 2:16:30 PM: LESS: oldbrowser.less compiled.
9/11/2014 2:16:33 PM: LESS: bootstrap.less compiled.
9/11/2014 2:16:33 PM: LESS: thingstodo.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: oldbrowser.less compiled.
9/11/2014 2:16:33 PM: LESS: itimsmodule.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: travelguides.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: thingstododetails.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: app.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: app.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: seasonal.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: travelguides.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: regions.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: site.responsive.less compiled.
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:33 PM: LESS: traveldeals.responsive.less compiled.
9/11/2014 2:16:34 PM: LESS: flexslider.custom.less compiled.
9/11/2014 2:16:34 PM: LESS: site.responsive.less compiled.
9/11/2014 2:16:34 PM: LESS: TravelDeals.less compiled.
9/11/2014 2:16:34 PM: LESS: ThingsToDo.less compiled.
9/11/2014 2:16:34 PM: LESS: regions.less compiled.
9/11/2014 2:16:34 PM: LESS: home.responsive.less compiled.
9/11/2014 2:16:35 PM: LESS: Site.less compiled.
9/11/2014 2:16:35 PM: LESS: seasonal.less compiled.
9/11/2014 2:16:35 PM: LESS: ItimsModule.less compiled.
9/11/2014 2:16:35 PM: LESS: miniabe.responsive.less compiled.
9/11/2014 2:16:35 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:35 PM: LESS: app.less compiled.
9/11/2014 2:16:35 PM: LESS: travelguides.less compiled.
9/11/2014 2:16:35 PM: LESS: ThingsToDoDetails.less compiled.
9/11/2014 2:16:35 PM: LESS: newIllinoisVideos.less compiled.
9/11/2014 2:16:36 PM: LESS: illinoisvideos.less compiled.
9/11/2014 2:16:36 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:37 PM: LESS: tripstartercommon.less compiled.
9/11/2014 2:16:37 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:37 PM: LESS: miniabe.less compiled.
9/11/2014 2:16:38 PM: LESS: Home.less compiled.
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:38 PM: LESS: tripstartersroute66.less compiled.
9/11/2014 2:16:39 PM: LESS: tripstartersoutdoor.less compiled.
9/11/2014 2:16:39 PM: LESS: tripstartersfamilyland.less compiled.
9/11/2014 2:16:39 PM: LESS: tripstartersCulinary.less compiled.
9/11/2014 2:16:40 PM: LESS: tripstartersoffroad.less compiled.
9/11/2014 2:16:40 PM: LESS: tripstartersmancation.less compiled.
9/11/2014 2:16:40 PM: LESS: tripstarterschicago.less compiled.
9/11/2014 2:16:40 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:40 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:40 PM: LESS: tripstarterswine.less compiled.
9/11/2014 2:16:41 PM: LESS: tripstarterslincoln.less compiled.
9/11/2014 2:16:41 PM: LESS: 'hidpi.less' wasn't found
9/11/2014 2:16:41 PM: LESS: tripstarterslgbt.less compiled.

@kingmotley
Copy link
Contributor Author

Looks like the problem where the LESS file that produced no output was throwing the autoprefixer for a loop has been fixed. Still not sure why it appears that there is an issue with not finding 'hidpi.less' sometimes, or why it is recompiling the same files multiple times however. I'll close this topic and reopen another regarding those when I have a chance to simplify the conditions that causes them.

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

5 participants