# Can't run Grunt server

**URL:** <https://discourse.processing.org/t/cant-run-grunt-server/17016>\
**Category:** Development\
**Created:** [January 11, 2020, 6:28am UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016 "2020-01-11T06:28:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teddysphotos](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Post date:** [January 11, 2020, 6:28am UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016/1 "2020-01-11T06:28:56Z")

</div>

Every time I run `npm run watch`, the server doesn’t run, it does not open the [p5js.org](http://p5js.org) website on my system. Instead, it shows the following error in the terminal.

> npm ERR! code ELIFECYCLE  
> npm ERR! errno 3  
> npm ERR! p5js@0.1.0 watch: `grunt server`  
> npm ERR! Exit status 3  
> npm ERR!  
> npm ERR! Failed at the p5js@0.1.0 watch script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
> npm ERR! A complete log of this run can be found in:  
> npm ERR! /home/teddy/.npm/\_logs/2020-01-11T06\_19\_08\_870Z-debug.log

I set up and ran everything according to the instructions on [GitHub repository](https://github.com/processing/p5.js-website) of p5.js-website.  
Any help would be appreciated.  
Thanks and regards.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [January 11, 2020, 7:06am UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016/2 "2020-01-11T07:06:10Z")

</div>

please repair the link  
[GitHub repository](https://github.com/processing/p5.js-website) ,

---

<div class="post-metadata">

**Author:** ![teddysphotos](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Post date:** [January 11, 2020, 7:12am UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016/3 "2020-01-11T07:12:22Z")

</div>

I apologise for the broken link. It has been repaired now.

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 30, 2020, 4:00pm UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016/4 "2020-01-30T16:00:47Z")

</div>

@teddysphotos – were you ever able to resolve this issue? For example, beginning with generic advice on cache cleaning when you get an ELIFECYCLE error?

> <https://stackoverflow.com/questions/42308879/npm-err-code-elifecycle>

---

<div class="post-metadata">

**Author:** ![teddysphotos](https://avatars.discourse-cdn.com/v4/letter/t/ecae2f/32.png) [@teddysphotos](https://discourse.processing.org/u/teddysphotos)\
**Post date:** [January 30, 2020, 6:34pm UTC](https://discourse.processing.org/t/cant-run-grunt-server/17016/5 "2020-01-30T18:34:48Z")

</div>

Yes, there was a slight error in the documentation that I was following. The command was `npm run watch` instead of `grunt server`, the issue has been resolved now.  
Thanks for the link though 😃
