tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

IOException when running the template project #28

Closed naory closed 10 years ago

naory commented 10 years ago

Hi,

I downloaded activator and selected the template to create my project then cd to the project folder and executed ./activator run and getting the following:


--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
Gruntfile.js
java.io.IOException: Cannot run program "grunt" (in directory "/Users/abcd/Dev/Projects/play-yeoman/ui"): error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) java.io.IOException: Cannot run program "grunt" (in directory "/Users/abcd/Dev/Projects/play-yeoman/ui"): error=2, No such file or directory
[error] Total time: 1 s, completed Oct 15, 2013 12:01:47 AM

the path and ui directory do exist. i am running on a mac pro with the latest java 7

milliondreams commented 10 years ago

You will need to have npm, bower, yeoman and grunt installed.

The error says you don't have grunt installed.

naory commented 10 years ago

Thanks for the quick reply.

Installed grunt and no errors now

On Oct 15, 2013, at 4:11 AM, Rohit Rai notifications@github.com wrote:

You will need to have npm, bower, yeoman and grunt installed.

The error says you don't have grunt installed.

— Reply to this email directly or view it on GitHub.