Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Crashes after second question #5

Open
fasmide opened this issue Jul 5, 2013 · 1 comment
Open

Crashes after second question #5

fasmide opened this issue Jul 5, 2013 · 1 comment

Comments

@fasmide
Copy link

fasmide commented Jul 5, 2013

Hi

fas@nodes:~/powerdash$ sudo grunt-express-bootstrap init
Running "init" task
This task will create one or more files in the current directory, based on the
environment and the answers to a few questions. Note that answering "?" to any
question will show question-specific help and answering "none" to most questions
will leave its value blank.

"grunt-express-bootstrap" template notes:
Project name shouldn't contain "node" or "js" and should be a unique ID not
already in use at search.npmjs.org.

Please answer the following:
[?] Project name (powerdash)
[?] Description (The best project ever.)

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

This is the packages i have installed globally

├─┬ express@3.3.1
│ ├── buffer-crc32@0.2.1
│ ├── commander@0.6.1
│ ├─┬ connect@2.8.1
│ │ ├── bytes@0.2.0
│ │ ├── cookie@0.0.5
│ │ ├── formidable@1.0.14
│ │ ├── pause@0.0.1
│ │ ├── qs@0.6.5
│ │ └── uid2@0.0.2
│ ├── cookie@0.1.0
│ ├── cookie-signature@1.0.1
│ ├── debug@0.7.2
│ ├── fresh@0.1.0
│ ├── methods@0.0.1
│ ├── mkdirp@0.3.4
│ ├── range-parser@0.0.4
│ └─┬ send@0.1.1
│   └── mime@1.2.9
├─┬ forever@0.10.8
│ ├─┬ cliff@0.1.8
│ │ ├── eyes@0.1.8
│ │ └─┬ winston@0.6.2
│ │   ├── async@0.1.22
│ │   ├── cycle@1.0.2
│ │   ├── pkginfo@0.2.3
│ │   ├── request@2.9.203
│ │   └── stack-trace@0.0.6
│ ├── colors@0.6.0-1
│ ├─┬ flatiron@0.3.5
│ │ ├─┬ broadway@0.2.7
│ │ │ ├── eventemitter2@0.4.11
│ │ │ └─┬ winston@0.6.2
│ │ │   ├── async@0.1.22
│ │ │   ├── cycle@1.0.2
│ │ │   ├── eyes@0.1.8
│ │ │   ├── pkginfo@0.2.3
│ │ │   ├── request@2.9.203
│ │ │   └── stack-trace@0.0.6
│ │ ├── director@1.1.10
│ │ ├─┬ optimist@0.3.5
│ │ │ └── wordwrap@0.0.2
│ │ └─┬ prompt@0.2.9
│ │   ├─┬ read@1.0.4
│ │   │ └── mute-stream@0.0.3
│ │   ├── revalidator@0.1.5
│ │   └─┬ winston@0.6.2
│ │     ├── async@0.1.22
│ │     ├── cycle@1.0.2
│ │     ├── eyes@0.1.8
│ │     ├── pkginfo@0.2.3
│ │     ├── request@2.9.203
│ │     └── stack-trace@0.0.6
│ ├─┬ forever-monitor@1.2.2
│ │ ├─┬ broadway@0.2.7
│ │ │ ├── eventemitter2@0.4.11
│ │ │ └─┬ winston@0.6.2
│ │ │   ├── async@0.1.22
│ │ │   ├── cycle@1.0.2
│ │ │   ├── eyes@0.1.8
│ │ │   ├── pkginfo@0.2.3
│ │ │   ├── request@2.9.203
│ │ │   └── stack-trace@0.0.6
│ │ ├─┬ minimatch@0.0.5
│ │ │ └── lru-cache@1.0.6
│ │ ├─┬ ps-tree@0.0.3
│ │ │ └─┬ event-stream@0.5.3
│ │ │   └─┬ optimist@0.2.8
│ │ │     └── wordwrap@0.0.2
│ │ └── watch@0.5.1
│ ├─┬ nconf@0.6.7
│ │ ├── async@0.1.22
│ │ ├── ini@1.1.0
│ │ ├─┬ optimist@0.3.7
│ │ │ └── wordwrap@0.0.2
│ │ └── pkginfo@0.2.3
│ ├─┬ nssocket@0.5.1
│ │ ├── eventemitter2@0.4.11
│ │ └── lazy@1.0.11
│ ├─┬ optimist@0.4.0
│ │ └── wordwrap@0.0.2
│ ├── pkginfo@0.3.0
│ ├── timespan@2.0.1
│ ├─┬ utile@0.1.7
│ │ ├── async@0.1.22
│ │ ├── deep-equal@0.0.0
│ │ ├── i@0.3.1
│ │ ├── mkdirp@0.3.5
│ │ ├── ncp@0.2.7
│ │ └── rimraf@1.0.9
│ ├── watch@0.7.0
│ └─┬ winston@0.7.1
│   ├── async@0.2.9
│   ├── cycle@1.0.2
│   ├── eyes@0.1.8
│   ├─┬ request@2.16.6
│   │ ├── aws-sign@0.2.0
│   │ ├── cookie-jar@0.2.0
│   │ ├── forever-agent@0.2.0
│   │ ├─┬ form-data@0.0.10
│   │ │ └─┬ combined-stream@0.0.4
│   │ │   └── delayed-stream@0.0.5
│   │ ├─┬ hawk@0.10.2
│   │ │ ├── boom@0.3.8
│   │ │ ├── cryptiles@0.1.3
│   │ │ ├── hoek@0.7.6
│   │ │ └── sntp@0.1.4
│   │ ├── json-stringify-safe@3.0.0
│   │ ├── mime@1.2.9
│   │ ├── node-uuid@1.4.0
│   │ ├── oauth-sign@0.2.0
│   │ ├── qs@0.5.6
│   │ └── tunnel-agent@0.2.0
│   └── stack-trace@0.0.6
├─┬ grunt-cli@0.1.9
│ ├─┬ findup-sync@0.1.2
│ │ ├─┬ glob@3.1.21
│ │ │ ├── graceful-fs@1.2.2
│ │ │ ├── inherits@1.0.0
│ │ │ └─┬ minimatch@0.2.12
│ │ │   ├── lru-cache@2.3.0
│ │ │   └── sigmund@1.0.0
│ │ └── lodash@1.0.1
│ ├─┬ nopt@1.0.10
│ │ └── abbrev@1.0.4
│ └── resolve@0.3.1
├─┬ grunt-express-bootstrap@0.1.3
│ └─┬ grunt@0.3.17
│   ├── async@0.1.22
│   ├── colors@0.6.0-1
│   ├─┬ connect@2.4.6
│   │ ├── bytes@0.1.0
│   │ ├── cookie@0.0.4
│   │ ├── crc@0.2.0
│   │ ├── debug@0.7.2
│   │ ├── formidable@1.0.11
│   │ ├── fresh@0.1.0
│   │ ├── pause@0.0.1
│   │ ├── qs@0.5.1
│   │ └─┬ send@0.0.4
│   │   ├── mime@1.2.6
│   │   └── range-parser@0.0.4
│   ├── dateformat@1.0.2-1.2.3
│   ├─┬ glob-whatev@0.1.8
│   │ └─┬ minimatch@0.2.12
│   │   ├── lru-cache@2.3.0
│   │   └── sigmund@1.0.0
│   ├─┬ gzip-js@0.3.2
│   │ ├── crc32@0.2.2
│   │ └── deflate-js@0.2.3
│   ├── hooker@0.2.3
│   ├─┬ jshint@0.9.1
│   │ ├─┬ cli@0.4.3
│   │ │ └─┬ glob@3.2.1
│   │ │   ├── graceful-fs@1.2.2
│   │ │   ├── inherits@1.0.0
│   │ │   └─┬ minimatch@0.2.12
│   │ │     ├── lru-cache@2.3.0
│   │ │     └── sigmund@1.0.0
│   │ └─┬ minimatch@0.0.5
│   │   └── lru-cache@1.0.6
│   ├─┬ nodeunit@0.7.4
│   │ └─┬ tap@0.4.3
│   │   ├── buffer-equal@0.0.0
│   │   ├── deep-equal@0.0.0
│   │   ├─┬ difflet@0.2.5
│   │   │ ├── charm@0.0.8
│   │   │ ├── deep-is@0.1.2
│   │   │ └── traverse@0.6.3
│   │   ├─┬ glob@3.2.1
│   │   │ ├── graceful-fs@1.2.2
│   │   │ ├── inherits@1.0.0
│   │   │ └─┬ minimatch@0.2.12
│   │   │   ├── lru-cache@2.3.0
│   │   │   └── sigmund@1.0.0
│   │   ├── inherits@2.0.0
│   │   ├── mkdirp@0.3.5
│   │   ├─┬ nopt@2.1.1
│   │   │ └── abbrev@1.0.4
│   │   ├─┬ runforcover@0.0.2
│   │   │ └─┬ bunker@0.1.2
│   │   │   └─┬ burrito@0.2.12
│   │   │     ├── traverse@0.5.2
│   │   │     └── uglify-js@1.1.1
│   │   ├── slide@1.1.4
│   │   └── yamlish@0.0.5
│   ├─┬ nopt@1.0.10
│   │ └── abbrev@1.0.4
│   ├─┬ prompt@0.1.12
│   │ ├── pkginfo@0.3.0
│   │ └─┬ winston@0.5.11
│   │   ├── eyes@0.1.8
│   │   ├─┬ loggly@0.3.11
│   │   │ ├── request@2.9.203
│   │   │ └── timespan@2.2.0
│   │   ├── pkginfo@0.2.3
│   │   └── stack-trace@0.0.6
│   ├── semver@1.0.14
│   ├─┬ temporary@0.0.5
│   │ └── package@1.0.1
│   ├── uglify-js@1.3.5
│   ├── underscore@1.2.4
│   └── underscore.string@2.1.1
└─┬ npm@1.2.23
  ├── abbrev@1.0.4
  ├── ansi@0.1.2
  ├── archy@0.0.2
  ├── block-stream@0.0.6
  ├── child-process-close@0.1.1
  ├── chmodr@0.1.0
  ├── chownr@0.0.1
  ├── cmd-shim@1.1.0
  ├── editor@0.0.4
  ├── fstream@0.1.22
  ├─┬ fstream-npm@0.1.4
  │ └── fstream-ignore@0.0.6
  ├── glob@3.2.1
  ├── graceful-fs@1.2.1
  ├── inherits@1.0.0
  ├── ini@1.1.0
  ├─┬ init-package-json@0.0.8
  │ └── promzard@0.2.0
  ├── lockfile@0.3.2
  ├── lru-cache@2.3.0
  ├─┬ minimatch@0.2.12
  │ └── sigmund@1.0.0
  ├── mkdirp@0.3.5
  ├── node-gyp@0.9.5
  ├── nopt@2.1.1
  ├─┬ npm-registry-client@0.2.24
  │ └── couch-login@0.1.16
  ├── npm-user-validate@0.0.1
  ├─┬ npmconf@0.0.24
  │ └─┬ config-chain@1.1.7
  │   └── proto-list@1.2.2
  ├── npmlog@0.0.2
  ├── once@1.1.1
  ├── opener@1.3.0
  ├── osenv@0.0.3
  ├─┬ read@1.0.4
  │ └── mute-stream@0.0.3
  ├── read-installed@0.1.1
  ├─┬ read-package-json@0.4.1
  │ └─┬ normalize-package-data@0.1.6
  │   └── github-url-from-git@1.1.1
  ├─┬ request@2.21.0
  │ ├── aws-sign@0.3.0
  │ ├── cookie-jar@0.3.0
  │ ├── forever-agent@0.5.0
  │ ├─┬ form-data@0.0.8
  │ │ ├── async@0.2.8
  │ │ └─┬ combined-stream@0.0.4
  │ │   └── delayed-stream@0.0.5
  │ ├─┬ hawk@0.13.1
  │ │ ├── boom@0.4.1
  │ │ ├── cryptiles@0.2.1
  │ │ ├── hoek@0.8.5
  │ │ └── sntp@0.2.2
  │ ├─┬ http-signature@0.9.11
  │ │ ├── asn1@0.1.11
  │ │ ├── assert-plus@0.1.2
  │ │ └── ctype@0.5.2
  │ ├── json-stringify-safe@4.0.0
  │ ├── mime@1.2.9
  │ ├── node-uuid@1.4.0
  │ ├── oauth-sign@0.3.0
  │ ├── qs@0.6.4
  │ └── tunnel-agent@0.3.0
  ├── retry@0.6.0
  ├── rimraf@2.1.4
  ├── semver@1.1.4
  ├── sha@1.0.1
  ├── slide@1.1.4
  ├── tar@0.1.17
  ├── uid-number@0.0.3
  └── which@1.0.5

Node version:

fas@nodes:~/powerdash$ node --version
v0.10.8
@wolfeidau
Copy link
Owner

Yeah atm this isn't compatible with grunt-cli@0.1.9 pulled in by another dependency so hence the crash.

Unfortunately grunt has completely changed the way they template projects, twice so now your expected to use yeoman..

I did work to make it work when they changed it the first time, but haven't moved this to a yeoman template.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants