silentrob / superscript-websocket-demo

WebSocket example app
18 stars 9 forks source link

dependency spec #1

Closed dcsan closed 9 years ago

dcsan commented 9 years ago

the first npm install choked out on

npm http 304 https://registry.npmjs.org/wordwrap FATAL ERROR: JS Allocation failed - process out of memory zsh: abort npm install superscript-websocket-demo> l total 32 0 drwxr-xr-x 13 dc staff 442B Jan 27 07:43 ./ 0 drwxr-xr-x 66 dc staff 2.2K Jan 27 07:43 ../

│   └── json3@3.2.6
├─┬ superscript@0.5.1
│ ├── UNMET DEPENDENCY async ~0.7.0
│ ├── UNMET DEPENDENCY async-replace 0.0.2
│ ├── UNMET DEPENDENCY checksum ^0.1.1
│ ├── UNMET DEPENDENCY commander ^2.4.0
│ ├── UNMET DEPENDENCY crc ^3.0.0
│ ├── UNMET DEPENDENCY debug ~0.8.0
│ ├── UNMET DEPENDENCY deepmerge ^0.2.7
│ ├── UNMET DEPENDENCY mkdirp ^0.5.0
│ ├── UNMET DEPENDENCY moment ~2.6.0
│ ├── UNMET DEPENDENCY mongoose ^3.8.21
│ ├── UNMET DEPENDENCY mongoose-findorcreate ^0.1.2
│ ├── UNMET DEPENDENCY natural ~0.2.0
│ ├── UNMET DEPENDENCY node-lemmer git://github.com/grachev/node-lemmer
│ ├── UNMET DEPENDENCY node-normalizer 0.0.10
│ ├── UNMET DEPENDENCY node-tense 0.0.4
│ ├── UNMET DEPENDENCY pluralize 0.0.9
│ ├── UNMET DEPENDENCY pos ~0.1.5
│ ├── UNMET DEPENDENCY qtypes 0.1.0
│ ├── UNMET DEPENDENCY require-dir ~0.1.0
│ ├── UNMET DEPENDENCY rhyme 0.0.3
│ ├── UNMET DEPENDENCY roman-numerals ~0.3.2
│ ├── UNMET DEPENDENCY string ~1.8.1
│ ├── UNMET DEPENDENCY syllablistic ~0.1.0
│ └── UNMET DEPENDENCY WNdb ~3.1.1
└── underscore@1.7.0 invalid

npm ERR! missing: WNdb@~3.1.1, required by superscript@0.5.1
npm ERR! missing: async@~0.7.0, required by superscript@0.5.1
npm ERR! missing: async-replace@0.0.2, required by superscript@0.5.1
npm ERR! missing: checksum@^0.1.1, required by superscript@0.5.1
npm ERR! missing: commander@^2.4.0, required by superscript@0.5.1
npm ERR! missing: crc@^3.0.0, required by superscript@0.5.1
npm ERR! missing: debug@~0.8.0, required by superscript@0.5.1
npm ERR! missing: deepmerge@^0.2.7, required by superscript@0.5.1
npm ERR! missing: moment@~2.6.0, required by superscript@0.5.1
npm ERR! missing: mongoose@^3.8.21, required by superscript@0.5.1
npm ERR! missing: mongoose-findorcreate@^0.1.2, required by superscript@0.5.1
npm ERR! missing: natural@~0.2.0, required by superscript@0.5.1
npm ERR! missing: node-lemmer@git://github.com/grachev/node-lemmer, required by superscript@0.5.1
npm ERR! missing: node-normalizer@0.0.10, required by superscript@0.5.1
npm ERR! missing: node-tense@0.0.4, required by superscript@0.5.1
npm ERR! missing: pluralize@0.0.9, required by superscript@0.5.1
npm ERR! missing: pos@~0.1.5, required by superscript@0.5.1
npm ERR! missing: qtypes@0.1.0, required by superscript@0.5.1
npm ERR! missing: require-dir@~0.1.0, required by superscript@0.5.1
npm ERR! missing: rhyme@0.0.3, required by superscript@0.5.1
npm ERR! missing: roman-numerals@~0.3.2, required by superscript@0.5.1
npm ERR! missing: string@~1.8.1, required by superscript@0.5.1
npm ERR! missing: syllablistic@~0.1.0, required by superscript@0.5.1
npm ERR! missing: mkdirp@^0.5.0, required by superscript@0.5.1
npm ERR! invalid: underscore@1.7.0 /Users/dc/dev/ref/superscript-websocket-demo/node_modules/underscore
npm ERR! not ok code 0

I tried npm cache clean without success.

http://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies

Or structure your package.json such that any top-level modules that are also dependencies of other modules are listed lower down.

$ npm install superscript@0.5.1

fixed the issue.

silentrob commented 9 years ago

Should be fixed