Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

PSA: ScoutApp for windows error

I was following along with the Sass course and i wanted to work with the Scout app since working with the command line prompt is a pain in Windows in my opinion. Unfortunately, the scout app has a weird error causing it to give an error message ( #3214 ) and not compiling anything. If you come across this error ( very likely on Windows ), here's the solution.

It's caused by an incorrect path to your Java.

  1. Make sure Java is installed on your system.
  2. Open your text editor ( Sublime Text for me ) as an administrator.
  3. Open the file: C:\Program Files (x86)\Scout\Javascripts\app\process_interaction.js
  4. Find the line with the path to Java :
function javaDir() {
if(air.Capabilities.os.match(/Windows/)) {
path = air.File.applicationDirectory.resolvePath("C:\\Program Files\\Java\\jre7\\bin\\java.exe");
  1. Change the path to the java.exe file on your system ( without any changes it's C:\Program Files (x86)\Java\jre1.8.0_31\bin\java.exe
  2. If your path is different and you are updating it maually, don't forget to use double backslashes. Also not forget that jre1.8.0_31 might be different depending on your version number.
  3. Reboot Scout and press play again on your project, should work fine now.

Hope this helps anyone running into the same issue as me.

  • Elian

1 Answer

I started the Sass course in Windows and was very frustrated with the Scout app. It has not been updated in a very long time. I then started using the command line and, once I learned a couple of comannds, it was much easier. There are really only 2 or 3 commands that you use. Ultimately, I decided to install Linux Mint as a dual boot on my laptop. It turns out Linux Mint is so good that I never really boot to Windows anymore.

I think it is important to become comfortable with the command line. There are things that just work better from there, such as Git.

With respect to your specific problem, I don't know. Like I said, the app was far more trouble than it was worth.

I worked with various Linux distributions in the past and the problem i kept running into was that the Adobe programs have trouble running on pretty much all of them. Dual boot is not my cup of tea and VM is just too much of a hassle. I know, i'm lazy, haha. But i just want things to run from one interface when i boot it. Doing the steps above was a small step to take but it saved me a lot of time after that. Scout is running perfectly fine now and in windows it's much easier to use it than the Command prompt imo. :)