Fatal error: spawn ENOENT while running grunt

3,294 views
Skip to first unread message

tca...@gmail.com

unread,
Oct 2, 2014, 10:09:50 AM10/2/14
to polym...@googlegroups.com
I am getting this error message while running grunt:

=== Updating tutorial ===
thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ grunt
Running "concurrent:target1" (concurrent) task
Running "appengine:run:frontend" (appengine) task
Running "vulcanize:build" (vulcanize) task
executing: dev_appserver.py --port=3000 --host=localhost .
Fatal error: spawn ENOENT
    Warning:  Use --force to continue.
       
        Aborted due to warnings.

Rob Dodson

unread,
Oct 2, 2014, 11:28:19 AM10/2/14
to tca...@gmail.com, polymer-dev
It looks like you're building the docs repo so probably better to file this issue over there

I think ENOENT is when there is a missing file or directory. Did you follow all of the setup steps in the docs repo?

Also, do you have the app engine SDK installed? https://cloud.google.com/appengine/downloads

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/5d9500af-f7c2-4a05-a6ec-5340bd791dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tca...@gmail.com

unread,
Oct 2, 2014, 11:33:02 AM10/2/14
to polym...@googlegroups.com, tca...@gmail.com
Rob, yes I follow all the steps. The only difference is that I am using: /google-cloud-sdk/bin$ for the dev_appserver.sh.

Should I reinstall the SDK as proposed?

Rob Dodson

unread,
Oct 2, 2014, 11:43:01 AM10/2/14
to tca...@gmail.com, polymer-dev
I'm not sure to be honest. It may be that you're just missing a directory in the docs setup... I guess you could start with reinstalling the SDK and making sure that works, then we can move on from there.

EUSMS European Secure Messaging Service

unread,
Oct 5, 2014, 7:29:03 AM10/5/14
to polym...@googlegroups.com, tca...@gmail.com
Rob,
I reinstalled the SDK but still getting the same error message. also cleaning up the docs directory and reinstallung does not help.

Running grunt -verbose shows from line 351:

  1. Running tasks: jekyll:serve
  2.  
  3. Running "jekyll:serve" (jekyll) task
  4. Verifying property jekyll.serve exists in config...OK
  5. File: [no files]
  6. Options: watch
  7. Loading "compass.js" tasks...Fatal error: spawn ENOENT
you can see the whole log file here: http://pastebin.com/nPD8sn6J

any thoughts on how to fix this?

Rob Dodson

unread,
Oct 6, 2014, 6:36:22 PM10/6/14
to EUSMS European Secure Messaging Service, polymer-dev, Thomas Frei
hm, what do you get when you run sass -v and compass -v...

Arthur Evans

unread,
Oct 6, 2014, 9:00:45 PM10/6/14
to Rob Dodson, EUSMS European Secure Messaging Service, polymer-dev, Thomas Frei
Yeah, you can get this error when any of the required programs is missing. I've seen it before when I failed to install vulcanize globally. Try running each of the commands to make sure they're in your path:

jekyll
compass
sass
dev_appserver.py

If one of these fails, you have your culprit.

On Mac, when app engine updates, you need to re-run the app engine launcher to recreate the symbolic links. So if you can't find dev_appserver.py, that's could be your problem.

(Not sure what the fix is on other platforms; if you see this problem and you're on Windows or Linux, please let me know.)

Cheers,
Arthur




tca...@gmail.com

unread,
Oct 7, 2014, 2:43:28 AM10/7/14
to polym...@googlegroups.com, t...@eusms.com.de, tca...@gmail.com
running compass -v, sass -v jekyll -v shows:

thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ sass -v
Sass 3.4.1 (Selective Steve)

thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ jekyll -v
/var/lib/gems/2.1.0/gems/execjs-2.2.1/lib/execjs/external_runtime.rb:110: warning: Insecure world writable dir /home/thomas/develop in PATH, mode 040777
jekyll 2.4.0

thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ compass -v
Compass 1.0.1 (Polaris)
Copyright (c) 2008-2014 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass
thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ sass -v
Sass 3.4.1 (Selective Steve)
thomas@hybrid:~/develop/www/Porta-Druckluft/docs$ dev_appserver.sh -v
Usage: <dev-appserver> [options] <app directory>

EUSMS European Secure Messaging Service

unread,
Oct 7, 2014, 3:59:50 AM10/7/14
to polym...@googlegroups.com, t...@eusms.com.de, tca...@gmail.com
Guys, there is that tcafmi is using the java dev_appserver sdk instead of the Python version.

Replace your Java SDK with the Pyhton version and your are done!

Rob Dodson

unread,
Oct 7, 2014, 10:26:30 AM10/7/14
to EUSMS European Secure Messaging Service, polymer-dev, Thomas Frei
nice!

ok I just updated the readme so it mentions the Python app engine sdk. Thanks for that!

Reply all
Reply to author
Forward
0 new messages