Closed pschulz closed 11 years ago
Will take a look at it when I can get hands on a Windows system, or will ask someone who has access to it.
Or tell me how I can support you. I'm unfortunately new to scala programming, sbt and playframework.
As far as I understand, "Cannot run program "grunt" (in directory "E:\PlayLearn\ui"): CreateProcess error=2"
means that it is not able to find 'grunt' for some reason. I will need to debug.
Exactly. I assume it (jvm, java / scala runtime library or whatever) is not aware of the PATHEXT environment variable, that contains a list of file name extensions that identify executable for the command line interpreter. By default it is set to at least PATHEXT=.COM;.EXE;.BAT;.CMD ...that is the reason why you can execute helloworld.exe just by calling helloworld from the windows commandline (instead of its full name), it is cool, isn't it?
Okay, got it working with #20. But as described in the pull request the interactions with the you command do not work.
Let us close this issue an open a new one to track the progress on interaction with yo/bower/npm commands launched in play console.
E:\PlayLearn>play run [...] [error] java.io.IOException: Cannot run program "grunt" (in directory "E:\PlayLearn\ui"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
E:\PlayLearn>whereis grunt Found at C:\DOKUME~1\pschulz\Anwendungsdaten\npm\grunt Found at C:\DOKUME~1\pschulz\Anwendungsdaten\npm\grunt.cmd
E:\PlayLearn>grunt -version grunt-cli v0.1.9
I'm still on Windows XP. The project depends on play 2.1.2 at the moment. As you can see above, grunt is available, also in the systems path environment. Any clue how to get it started?