# Error Starting donejs develop

**URL:** <https://forums.bitovi.com/t/error-starting-donejs-develop/181>\
**Category:** Uncategorized\
**Created:** [March 12, 2016, 4:46am UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181 "2016-03-12T04:46:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [March 12, 2016, 4:46am UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/1 "2016-03-12T04:46:14Z")

</div>

Any idea what causes this error?

thecountofzero@Link ~/Sites/donejs-chat  
’ \> donejs develop’

donejs-chat@0.0.0 develop /Users/thecountofzero/Sites/donejs-chat  
done-serve --develop --port 8080

sh: done-serve: command not found

npm ERR! Darwin 15.2.0  
npm ERR! argv “/Users/thecountofzero/.nvm/versions/node/v5.8.0/bin/node” “/Users/thecountofzero/.nvm/versions/node/v5.8.0/bin/npm” “run” "develop"  
npm ERR! node v5.8.0  
npm ERR! npm v3.8.1  
npm ERR! file sh  
npm ERR! code ELIFECYCLE  
npm ERR! errno ENOENT  
npm ERR! syscall spawn  
npm ERR! donejs-chat@0.0.0 develop: `done-serve --develop --port 8080`  
npm ERR! spawn ENOENT  
npm ERR!  
npm ERR! Failed at the donejs-chat@0.0.0 develop script ‘done-serve --develop --port 8080’.  
npm ERR! Make sure you have the latest version of node.js and npm installed.  
npm ERR! If you do, this is most likely a problem with the donejs-chat package,  
npm ERR! not with npm itself.  
npm ERR! Tell the author that this fails on your system:  
npm ERR! done-serve --develop --port 8080  
npm ERR! You can get information on how to open an issue for this project with:  
npm ERR! npm bugs donejs-chat  
npm ERR! Or if that isn’t available, you can get their info via:  
npm ERR! npm owner ls donejs-chat  
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:  
npm ERR! /Users/thecountofzero/Sites/donejs-chat/npm-debug.log  
Error: Command `npm` did not complete successfully  
at ChildProcess. (/Users/thecountofzero/Sites/donejs-chat/node\_modules/donejs-cli/lib/utils.js:37:23)  
at emitTwo (events.js:100:13)  
at ChildProcess.emit (events.js:185:7)  
at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:204:12)

---

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [March 12, 2016, 4:49am UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/2 "2016-03-12T04:49:42Z")

</div>

Never mind. Missing done-serve.

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [March 12, 2016, 2:22pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/3 "2016-03-12T14:22:17Z")

</div>

Hey @thecountofzero, you are using DoneJS 0.8.0-pre, this is a prerelease and hasn’t been verified yet, just to let you know. You might do better sticking with DoneJS 0.7.x for now. `donejs -V` will tell you what you have.

If you do:

```auto
npm install -g donejs

```

It should give you `0.7.2`.

Although if you want to test 0.8-pre out that would be great to! File any issues you encounter.

---

<div class="post-metadata">

**Author:** ![jwogrady](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/jwogrady/32/110_2.png) [@jwogrady](https://forums.bitovi.com/u/jwogrady)\
**Post date:** [March 12, 2016, 5:45pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/4 "2016-03-12T17:45:15Z")

</div>

Yep, getting the same error on OSX while following the [quickstart guide.](https://donejs.com/Guide.html#section=section_Setup)

```
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/Cellar/node/5.8.0/bin/node" "/usr/local/bin/npm" "run" "develop"
npm ERR! node v5.8.0
npm ERR! npm v3.7.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! elevate@0.0.0 develop: `done-serve --develop --port 8080`
npm ERR! spawn ENOENT

```

Confirmed  
/usr/local/lib  
└── donejs@0.7.2

Per @thecountofzero suggestion, recommend updating the quickstart guide to install done-serve.  
npm install -g done-serve

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [March 12, 2016, 6:01pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/5 "2016-03-12T18:01:26Z")

</div>

What version of donejs-cli does it say you have? I’m going to run it myself to verify.

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [March 12, 2016, 6:06pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/6 "2016-03-12T18:06:29Z")

</div>

@jwogrady I think it may be because I published a new version of our generators on Friday and you are getting that rather than the 0.7.0 version. I just published a new version so running `donejs init donejs-chat` should get you the correct versions of everything now… Running it myself to verify.

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [March 12, 2016, 6:07pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/7 "2016-03-12T18:07:43Z")

</div>

I can confirm the problem is with npm installing the prerelease generator-donejs. I’m rerunning to see if my publish fixed it.

---

<div class="post-metadata">

**Author:** ![jwogrady](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/jwogrady/32/110_2.png) [@jwogrady](https://forums.bitovi.com/u/jwogrady)\
**Post date:** [March 12, 2016, 6:13pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/8 "2016-03-12T18:13:38Z")

</div>

Cool, so the additional Quick Start step will not be needed after the patch? Can confirm manually installing done-serve solved my issue.

---

<div class="post-metadata">

**Author:** ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)\
**Post date:** [March 12, 2016, 6:17pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/9 "2016-03-12T18:17:14Z")

</div>

done-serve is new to donejs 0.8.0 (which is in prerelease), the step in the guide won’t be needed because it will be installed automatically. My mistake caused your app to be generated expecting done-serve instead of can-serve.

So anyways, thanks for trying the prerelease 🙂 Be sure to report any bugs you find.

Tests are showing the guide to be passing now, [https://travis-ci.org/donejs/donejs/jobs/115430251](https://travis-ci.org/donejs/donejs/jobs/115430251)

---

<div class="post-metadata">

**Author:** ![jwogrady](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/jwogrady/32/110_2.png) [@jwogrady](https://forums.bitovi.com/u/jwogrady)\
**Post date:** [March 12, 2016, 7:16pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/10 "2016-03-12T19:16:24Z")

</div>

No worries. I just uninstalled `donejs` and `done-serve` and installed again per the tut.

```
projects $ npm install -g donejs

```

output:

```
/usr/local/bin/donejs -> /usr/local/lib/node_modules/donejs/bin/donejs
/usr/local/lib

└─┬ donejs@0.7.2
  ├─┬ commander@2.9.0
  │ └── graceful-readlink@1.0.1
  ├─┬ cross-spawn-async@2.1.9
  │ ├─┬ lru-cache@4.0.0
  │ │ ├── pseudomap@1.0.2
  │ │ └── yallist@2.0.0
  │ └─┬ which@1.2.4
  │ ├─┬ is-absolute@0.1.7
  │ │ └── is-relative@0.1.3
  │ └── isexe@1.1.2
  └── q@1.4.1

```

Looks like I have the correct version now. Thanks!

---

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [March 12, 2016, 11:34pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/11 "2016-03-12T23:34:37Z")

</div>

Looks like I have 0.7.0

---

<div class="post-metadata">

**Author:** ![thecountofzero](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/thecountofzero/32/79_2.png) [@thecountofzero](https://forums.bitovi.com/u/thecountofzero)\
**Post date:** [March 12, 2016, 11:51pm UTC](https://forums.bitovi.com/t/error-starting-donejs-develop/181/12 "2016-03-12T23:51:59Z")

</div>

> npm ls --depth=0 -g 18:50  
> /Users/thecountofzero/.nvm/versions/node/v5.8.0/lib  
> ├── done-serve@0.1.1  
> ├── donejs@0.7.2  
> └── npm@3.8.1
