Errors Initializing donejs app

I am going through the place-my-order tutorial and when I do:

donejs init place-my-order

I see several deprecation warnings as well as a bunch of what seems like node module related errors. It eventually finishes, but I am concerned about the existence of the warnings and errors.

Here is a chunk of the output (at least what I could cut and paste).

> donejs init place-my-order                                                                                                                                      15:58
Initializing new DoneJS application at /Users/thecountofzero/Sites/place-my-order
Installing donejs-cli

> spawn-sync@1.0.13 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/spawn-sync
> node postinstall

/Users/thecountofzero/Sites/place-my-order
└─┬ donejs-cli@0.6.0-pre.4
---TRUNCATED

npm WARN enoent ENOENT: no such file or directory, open '/Users/thecountofzero/Sites/place-my-order/package.json'
npm WARN place-my-order No description
npm WARN place-my-order No repository field.
npm WARN place-my-order No README data
npm WARN place-my-order No license field.
Installing generator-donejs
/Users/thecountofzero/Sites/place-my-order
├── donejs-cli@0.6.0-pre.4
└── generator-donejs@0.4.2

npm WARN enoent ENOENT: no such file or directory, open '/Users/thecountofzero/Sites/place-my-order/package.json'
npm WARN place-my-order No description
npm WARN place-my-order No repository field.
npm WARN place-my-order No README data
npm WARN place-my-order No license field.
? Project name place-my-order
? Project main folder src
? Description
? Project homepage url
? GitHub username or organization
? Author's Name
? Author's Email
? Author's Homepage
? Application keywords
? NPM version used 3
Installing packages for DoneJS v0.6.0-pre.4
   create package.json
   create readme.md
   create documentjs.json
   create .gitignore
   create build.js
   create production.html
   create development.html
   create src/test.html
   create src/app.js
   create src/index.stache
   create src/index.md
   create src/styles.less
   create src/test/test.js
   create src/test/functional.js
   create src/models/fixtures/fixtures.js
   create src/models/test.js

> websocket@1.0.22 install /Users/thecountofzero/Sites/place-my-order/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
place-my-order@0.0.0 /Users/thecountofzero/Sites/place-my-order
├─┬ can@2.3.7
│ └─┬ can-simple-dom@0.2.23
│   └── micro-location@0.1.5
...TRUNCATED


npm WARN place-my-order@0.0.0 No description
npm WARN place-my-order@0.0.0 No repository field.
npm WARN place-my-order@0.0.0 No license field.
▐ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine steal-tools@0.13.0-pre.3: wanted: {"node":"0.10.x - 0.12.x || ^3.0.0"} (current: {"node":"5.3.0","npm":"3.5.3"})
WARN engine testee@0.2.3: wanted: {"node":"~0.10"} (current: {"node":"5.3.0","npm":"3.5.3"})
WARN engine steal-tools@0.13.0-pre.3: wanted: {"node":"0.10.x - 0.12.x || ^3.0.0"} (current: {"node":"5.3.0","npm":"3.5.3"})
npm WARN deprecated js-beautify@1.3.4: major indenting and html bug fixes in 1.4.0.
npm WARN deprecated MD5@1.3.0: deprecated, use lowercase 'md5@2.x' from now on
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
loadDep:form-data         ▌ ╢█████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:qs → afterAdd     ▀ ╢█████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.5.3"})
loadDep:cryptiles         ▀ ╢█████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.5.3"})
npm WARN deprecated reverend@0.2.0: supplanted by path-to-regexp@v1.1.0#compile
npm WARN deprecated babel-core@5.8.14: Babel 5 is no longer being maintained. Upgrade to Babel 6.
loadDep:useragent → after ▐ ╢█████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:useragent → addNa ▐ ╢█████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm WARN prefer global marked@0.3.5 should be installed with -g
npm WARN prefer global jsonlint@1.6.2 should be installed with -g
npm WARN prefer global js-beautify@1.3.4 should be installed with -g
npm WARN prefer global firebase-tools@2.2.0 should be installed with -g
npm WARN prefer global babel@5.8.34 should be installed with -g
npm WARN prefer global divshot-cli@1.11.0 should be installed with -g

> bufferutil@1.1.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to
      'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal' to 'v8::Local'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'const v8::Local &' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'v8::Local &&' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local that)
            ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thecountofzero/Sites/place-my-order/node_modules/bufferutil
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:bufferutil@1.1.0 bufferutil@1.1.0 install: `node-gyp rebuild`
npm WARN install:bufferutil@1.1.0 Exit status 1

> dtrace-provider@0.6.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/dtrace-provider
> node scripts/install.js


> bufferutil@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/engine.io-client/node_modules/bufferutil
> node-gyp rebuild

What version of node, npm, and your operating system?

Does anything break?

Looks like you are using npm 3, node 5. These are not fully supported yet: http://donejs.com/SettingUp.html

You could try installing DoneJS 0.6.0-pre.1 which has changes to support npm 3 / node 5.

Yes. I am using the latest node and npm. I will try DoneJS 0.6.0-pre.1

Has anyone had any success using it?

thecountofzero@Link ~/Sites
> node -v                                                                                                                                                         16:08
v5.3.0

thecountofzero@Link ~/Sites
> npm -v                                                                                                                                                          16:40
3.5.3

Updated to 0.6.0-pre.1 and got a bunch of new errors right off the bat.

thecountofzero@Link ~/Sites
> donejs init place-my-order                                                                                                                                      17:14
Initializing new DoneJS application at /Users/thecountofzero/Sites/place-my-order
Installing donejs-cli

> bufferutil@1.1.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to
      'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal' to 'v8::Local'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'const v8::Local &' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'v8::Local &&' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local that)
            ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thecountofzero/Sites/place-my-order/node_modules/bufferutil
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:bufferutil@1.1.0 bufferutil@1.1.0 install: `node-gyp rebuild`
npm WARN install:bufferutil@1.1.0 Exit status 1

> utf-8-validate@1.1.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to
      'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal' to 'v8::Local'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'const v8::Local &' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'v8::Local &&' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local that)
            ^
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/validation/src/validation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thecountofzero/Sites/place-my-order/node_modules/utf-8-validate
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:utf-8-validate@1.1.0 utf-8-validate@1.1.0 install: `node-gyp rebuild`
npm WARN install:utf-8-validate@1.1.0 Exit status 1
npm WARN place-my-order@0.0.0 No description
npm WARN place-my-order@0.0.0 No repository field.
npm WARN place-my-order@0.0.0 No license field.
? Project main folder (src)

Using nvm I switched to iojs (v3.3.1) and npm (2.14.3) and am still seeing errors:

>> donejs init place-my-order                                                                                                                                      17:27
Initializing new DoneJS application at /Users/thecountofzero/Sites/place-my-order
Installing donejs-cli

> spawn-sync@1.0.13 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/donejs-cli/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

donejs-cli@0.6.0-pre.4 node_modules/donejs-cli
├── steal-platform@0.0.4
├── q@1.4.1
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── cross-spawn-async@2.1.1 (lru-cache@3.2.0, which@1.2.1)
├── yeoman-environment@1.4.0 (escape-string-regexp@1.0.4, log-symbols@1.0.2, grouped-queue@0.3.2, text-table@0.2.0, untildify@2.1.0, chalk@1.1.1, globby@4.0.0, mem-fs@1.1.2, diff@2.2.1, inquirer@0.11.1, lodash@3.10.1)
├── yeoman-generator@0.20.3 (read-chunk@1.0.1, detect-conflict@1.0.0, yeoman-welcome@1.0.1, path-is-absolute@1.0.0, path-exists@1.0.0, yeoman-assert@2.1.1, text-table@0.2.0, class-extend@0.1.2, user-home@2.0.0, xdg-basedir@2.0.0, mime@1.3.4, dargs@4.0.1, istextorbinary@1.0.2, chalk@1.1.1, nopt@3.0.6, async@1.5.0, run-async@0.1.0, shelljs@0.5.3, cli-table@0.3.1, glob@5.0.15, through2@2.0.0, rimraf@2.5.0, findup-sync@0.2.1, diff@2.2.1, underscore.string@3.2.2, mem-fs-editor@2.1.0, cross-spawn@2.1.0, pretty-bytes@2.0.1, dateformat@1.0.12, github-username@2.1.0, download@4.4.3, html-wiring@1.2.0, gruntfile-editor@1.1.0, sinon@1.17.2, lodash@3.10.1, inquirer@0.8.5)
└── npm@2.14.15
Installing generator-donejs

> spawn-sync@1.0.13 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/generator-donejs/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

generator-donejs@0.4.2 node_modules/generator-donejs
├── q@1.4.1
├── semver@5.1.0
├── lodash@3.10.1
└── yeoman-generator@0.20.3 (read-chunk@1.0.1, detect-conflict@1.0.0, yeoman-welcome@1.0.1, path-exists@1.0.0, path-is-absolute@1.0.0, yeoman-assert@2.1.1, text-table@0.2.0, mime@1.3.4, class-extend@0.1.2, xdg-basedir@2.0.0, user-home@2.0.0, dargs@4.0.1, istextorbinary@1.0.2, debug@2.2.0, nopt@3.0.6, chalk@1.1.1, async@1.5.0, run-async@0.1.0, mkdirp@0.5.1, shelljs@0.5.3, cli-table@0.3.1, glob@5.0.15, through2@2.0.0, rimraf@2.5.0, findup-sync@0.2.1, diff@2.2.1, underscore.string@3.2.2, mem-fs-editor@2.1.0, cross-spawn@2.1.0, dateformat@1.0.12, pretty-bytes@2.0.1, github-username@2.1.0, yeoman-environment@1.4.0, download@4.4.3, html-wiring@1.2.0, gruntfile-editor@1.1.0, sinon@1.17.2, inquirer@0.8.5)
? Project name place-my-order
? Project main folder src
? Description
? Project homepage url
? GitHub username or organization
? Author's Name
? Author's Email
? Author's Homepage
? Application keywords
? NPM version used 2
Installing packages for DoneJS v0.6.0-pre.4
   create package.json
   create readme.md
   create documentjs.json
   create .gitignore
   create build.js
   create production.html
   create development.html
   create src/test.html
   create src/app.js
   create src/index.stache
   create src/index.md
   create src/styles.less
   create src/test/test.js
   create src/test/functional.js
   create src/models/fixtures/fixtures.js
   create src/models/test.js
npm WARN package.json place-my-order@0.0.0 No description
npm WARN package.json place-my-order@0.0.0 No repository field.
npm WARN package.json place-my-order@0.0.0 No license field.
-
> spawn-sync@1.0.13 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/generator-donejs/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall


> websocket@1.0.22 install /Users/thecountofzero/Sites/place-my-order/node_modules/can-ssr/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
done-component@0.4.0-pre.3 node_modules/done-component

done-css@1.1.15 node_modules/done-css

done-autorender@0.6.0-pre.0 node_modules/done-autorender
└── can-wait@0.2.6

jquery@2.1.4 node_modules/jquery

can-connect@0.3.3 node_modules/can-connect
├── can-set@0.3.9
└── when@3.7.7

generator-donejs@0.3.5 node_modules/generator-donejs
├── q@1.4.1
├── lodash@3.10.1
└── yeoman-generator@0.20.3 (read-chunk@1.0.1, detect-conflict@1.0.0, yeoman-welcome@1.0.1, path-exists@1.0.0, path-is-absolute@1.0.0, yeoman-assert@2.1.1, text-table@0.2.0, mime@1.3.4, class-extend@0.1.2, dargs@4.0.1, user-home@2.0.0, xdg-basedir@2.0.0, istextorbinary@1.0.2, debug@2.2.0, nopt@3.0.6, chalk@1.1.1, async@1.5.0, run-async@0.1.0, mkdirp@0.5.1, shelljs@0.5.3, cli-table@0.3.1, glob@5.0.15, through2@2.0.0, rimraf@2.5.0, findup-sync@0.2.1, diff@2.2.1, underscore.string@3.2.2, mem-fs-editor@2.1.0, cross-spawn@2.1.0, pretty-bytes@2.0.1, github-username@2.1.0, dateformat@1.0.12, yeoman-environment@1.4.0, download@4.4.3, html-wiring@1.2.0, gruntfile-editor@1.1.0, sinon@1.17.2, inquirer@0.8.5)

can-ssr@0.11.0-pre.4 node_modules/can-ssr
├── infanticide@1.0.1
├── xmlhttprequest@1.8.0
├── can-wait@0.2.6
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── http-proxy@1.12.0 (eventemitter3@1.1.1, requires-port@0.0.1)
├── najax@0.1.33 (jquery-deferred@0.3.0, underscore@1.8.3)
├── compression@1.6.0 (bytes@2.1.0, on-headers@1.0.1, vary@1.1.0, debug@2.2.0, compressible@2.0.6, accepts@1.3.0)
├── express@4.13.3 (escape-html@1.0.2, merge-descriptors@1.0.0, array-flatten@1.1.1, cookie@0.1.3, utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.1, fresh@0.3.0, range-parser@1.0.3, vary@1.0.1, path-to-regexp@0.1.7, content-type@1.0.1, etag@1.7.0, parseurl@1.3.0, content-disposition@0.5.0, serve-static@1.10.0, depd@1.0.1, finalhandler@0.4.0, on-finished@2.3.0, qs@4.0.0, debug@2.2.0, proxy-addr@1.0.10, send@0.13.0, accepts@1.2.13, type-is@1.6.10)
└── websocket@1.0.22 (yaeti@0.0.4, typedarray-to-buffer@3.0.4, debug@2.2.0, nan@2.0.9)

can@2.3.7 node_modules/can
└── can-simple-dom@0.2.23 (micro-location@0.1.5)

steal@0.13.0-pre.7 node_modules/steal
├── system-json@0.0.3
├── steal-systemjs@0.16.6-bitovi.13 (steal-es6-module-loader@0.16.3-bitovi.5)
└── less@2.5.3 (graceful-fs@3.0.8, mime@1.3.4, image-size@0.3.5, errno@0.1.4, source-map@0.4.4, promise@6.1.0, mkdirp@0.5.1, request@2.67.0)
npm WARN package.json place-my-order@0.0.0 No description
npm WARN package.json place-my-order@0.0.0 No repository field.
npm WARN package.json place-my-order@0.0.0 No license field.
npm WARN engine testee@0.2.3: wanted: {"node":"~0.10"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine launchpad@0.4.9: wanted: {"node":"^0.12"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine miner@0.2.1: wanted: {"node":"~0.10"} (current: {"node":"3.3.1","npm":"2.14.3"})

> spawn-sync@1.0.13 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/donejs-cli/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

npm WARN deprecated MD5@1.3.0: deprecated, use lowercase 'md5@2.x' from now on
npm WARN deprecated reverend@0.2.0: supplanted by path-to-regexp@v1.1.0#compile
npm WARN deprecated js-beautify@1.3.4: major indenting and html bug fixes in 1.4.0.

> utf-8-validate@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/testee/node_modules/feathers/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0

> bufferutil@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/testee/node_modules/feathers/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node

> dtrace-provider@0.6.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/testee/node_modules/launchpad/node_modules/restify/node_modules/dtrace-provider
> node scripts/install.js


> bufferutil@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/testee/node_modules/feathers/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node

> utf-8-validate@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/testee/node_modules/feathers/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node

> bufferutil@1.1.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/steal-tools/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to
      'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal' to 'v8::Local'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'const v8::Local &' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'v8::Local &&' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local that)
            ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:327:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
             ^  \
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/bufferutil.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/bin/iojs" "/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/steal-tools/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v3.3.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})

> utf-8-validate@1.1.0 install /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/steal-tools/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
                        ^
../node_modules/nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
                        ^
../node_modules/nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to
      'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
                                       ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal' to 'v8::Local'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'const v8::Local &' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from
      'v8::MaybeLocal' to 'v8::Local &&' for 1st argument
class Local {
      ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local that)
            ^
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:327:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/validation.cc:7:
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/thecountofzero/.node-gyp/iojs-3.3.1/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast(0)) = static_cast(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local::Local' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As());
           ^
../node_modules/nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/validation/src/validation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/bin/iojs" "/Users/thecountofzero/.nvm/versions/io.js/v3.3.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/steal-tools/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v3.3.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing bufferutil@1.1.0
npm WARN optional dep failed, continuing utf-8-validate@1.1.0
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})

> fsevents@1.0.6 install /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/thecountofzero/Sites/place-my-order/node_modules/documentjs/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v45-darwin-x64/fse.node" is installed via remote
npm WARN deprecated babel-core@5.8.14: Babel 5 is no longer being maintained. Upgrade to Babel 6.

> utf-8-validate@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/steal-tools/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"3.3.1","npm":"2.14.3"})

> bufferutil@1.2.1 install /Users/thecountofzero/Sites/place-my-order/node_modules/steal-tools/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
-
> documentjs@0.3.3 postinstall /Users/thecountofzero/Sites/place-my-order/node_modules/documentjs
> install-engine-dependencies


> fsevents@1.0.6 install /Users/thecountofzero/Sites/place-my-order/node_modules/steal-tools/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/thecountofzero/Sites/place-my-order/node_modules/steal-tools/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v45-darwin-x64/fse.node" is installed via remote
steal-qunit@0.1.1 node_modules/steal-qunit
└── qunitjs@1.20.0

can-fixture@0.1.1 node_modules/can-fixture
└── can-set@0.3.9

funcunit@3.0.0 node_modules/funcunit
├── syn@0.1.2
└── jquery@1.11.0

TRUNCATED...

No errors with node v0.12.9

Any suggestions what I might have missed to cause this error?

The line of code causing it is:

Restaurant.getList({}).then(restaurants => console.log(restaurants.attr()));

thecountofzero@Link ~/Sites/place-my-order
> donejs develop                                                                                                                                                  20:55

> place-my-order@0.0.0 develop /Users/thecountofzero/Sites/place-my-order
> can-serve --develop --proxy http://localhost:7070 --port 8080

can-serve starting on http://localhost:8080
tests
Received client connection
Live-reload server listening on port 8012
/Users/thecountofzero/Sites/place-my-order/node_modules/can-ssr/node_modules/http-proxy/lib/http-proxy/index.js:119
    throw err;
          ^
Error: connect ECONNREFUSED
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1012:19)

npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/thecountofzero/.nvm/versions/node/v0.12.9/bin/node" "/Users/thecountofzero/.nvm/versions/node/v0.12.9/bin/npm" "run" "develop"
npm ERR! node v0.12.9
npm ERR! npm  v2.14.9
npm ERR! code ELIFECYCLE
npm ERR! place-my-order@0.0.0 develop: `can-serve --develop --proxy http://localhost:7070 --port 8080`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the place-my-order@0.0.0 develop script 'can-serve --develop --proxy http://localhost:7070 --port 8080'.
npm ERR! This is most likely a problem with the place-my-order package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     can-serve --develop --proxy http://localhost:7070 --port 8080
npm ERR! You can get their info via:
npm ERR!     npm owner ls place-my-order
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/place-my-order/npm-debug.log
Error: Command `npm` did not complete successfully
    at ChildProcess. (/Users/thecountofzero/Sites/place-my-order/node_modules/donejs-cli/lib/utils.js:37:23)
    at ChildProcess.emit (events.js:110:17)
    at Process.ChildProcess._handle.onexit (child_process.js:1075:12)

Does the site work in the client, without server/side rendering?

How do you know Restaurant.getList({}).then(restaurants => console.log(restaurants.attr())); is breaking it? Is this part of the tutorial?

Is the place-my-order API working?

It turns out I need to have donejs api running. I had stopped it to run donejs develop

I didn’t realize they both had to be running in separate terminal windows

Hey @thecountofzero, I was able to recreate your Node 4 errors, filed an issue here, I’m looking into it now.

These errors are for “optional” dependencies that don’t actually matter. So even though it looks like the installation failed, it did not. The cause is probably using an outdated version of a dependency. I’m going to try and fix it before releasing 0.6.0.

Will provide more details in the issue.

i am also having an issue getting started, installing donejs globally with npm was no problem, but im unable to init a new project, it install the donejs-cli fine, but then after pulling in the generator-donejs i get a module not found error:

Installing generator-donejs
C:\Users\Al\newproj
└── generator-donejs@0.6.0

Error: Cannot find module '…/module/index’
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (C:\Users\Al\newproj\node_modules\generator-donejs\lib\index.js:4:18)
at Module._compile (module.js:413:34)
at Object.Module._extensions…js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
Error: Command node did not complete successfully
at ChildProcess. (C:\Users\Al\AppData\Roaming\npm\node_modules\donejs\lib\utils.js:45:23)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at ChildProcess.cp.emit (C:\Users\Al\AppData\Roaming\npm\node_modules\donejs\node_modules\cross-spawn-async\lib\enoent.js:37:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

any ideas?
should add, this on windows 10
node 5.5.0
npm3.3.12
donejs version 0.6.0

I’m laso having the same issue:

c:\dev\donejs>donejs init my-app
Initializing new DoneJS application at c:\dev\donejs\my-app
Installing donejs-cli
\

spawn-sync@1.0.15 postinstall c:\dev\donejs\my-app\node_modules\donejs-cli\node_modules\yeoman-generator\node_modules
cross-spawn\node_modules\spawn-sync
node postinstall

donejs-cli@0.6.5 node_modules\donejs-cli
├── q@1.4.1
├── steal-platform@0.0.4
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── debug@2.2.0 (ms@0.7.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── cross-spawn-async@2.1.8 (lru-cache@4.0.0, which@1.2.4)
├── yeoman-environment@1.5.2 (log-symbols@1.0.2, escape-string-regexp@1.0.4, grouped-queue@0.3.2, text-table@0.2.0, unti
ldify@2.1.0, diff@2.2.1, chalk@1.1.1, mem-fs@1.1.2, inquirer@0.11.4, globby@4.0.0, lodash@3.10.1)
├── yeoman-generator@0.20.3 (read-chunk@1.0.1, detect-conflict@1.0.0, yeoman-assert@2.1.1, path-exists@1.0.0, path-is-ab
solute@1.0.0, yeoman-welcome@1.0.1, async@1.5.2, mime@1.3.4, text-table@0.2.0, class-extend@0.1.2, user-home@2.0.0, xdg-
basedir@2.0.0, dargs@4.1.0, istextorbinary@1.0.2, chalk@1.1.1, diff@2.2.1, nopt@3.0.6, cli-table@0.3.1, shelljs@0.5.3, r
un-async@0.1.0, through2@2.0.0, glob@5.0.15, findup-sync@0.2.1, rimraf@2.5.1, underscore.string@3.2.3, mem-fs-editor@2.1
.0, cross-spawn@2.1.5, pretty-bytes@2.0.1, dateformat@1.0.12, github-username@2.1.0, gruntfile-editor@1.1.0, download@4.
4.3, html-wiring@1.2.0, sinon@1.17.3, lodash@3.10.1, inquirer@0.8.5)
└── npm@2.14.18
Error: Cannot find module ‘…/module/index’
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (c:\dev\donejs\my-app\node_modules\generator-donejs\lib\index.js:4:18)
at Module._compile (module.js:435:26)
at Object.Module._extensions…js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
Error: Command node did not complete successfully
at ChildProcess. (C:\Users\Jarek\AppData\Roaming\npm\node_modules\donejs\lib\utils.js:45:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at ChildProcess.cp.emit (C:\Users\Jarek\AppData\Roaming\npm\node_modules\donejs\node_modules\cross-spawn-async\lib\e
noent.js:37:29)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

c:\dev\donejs>npm --version
2.14.7

c:\dev\donejs>node --version
v4.2.1

c:\dev\donejs>donejs --version
0.6.0
{code}

I’m taking a look now. cc @daffl @matthewp

Looks like generator-donejs expects to find a …/module/index module but that doesn’t exist in 0.6.0. It is on github though. Perhaps there was a publishing mistake?

This is now fixed. You might need to run an npm cache clean before installing.

Thanks a lot. Now it works like a charm. I’m impressed on Saturday support :slight_smile:

Well I am working on our guide integration testing next week to make sure Saturday support isn’t needed! :slightly_smiling:

After updating and cleaning the cache I had:
`
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/bouchelaghem/public_html/dpg/app/npm-debug.log
Error: Command npm did not complete successfully
at ChildProcess. (/home/bouchelaghem/.node/lib/node_modules/donejs/lib/utils.js:45:23)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
`