Yeoman webapp not showing in the yo list
我目前正在使用在线教程与 Yeoman 玩游戏。安装 node 和 yeoman 后,我添加了 webapp 生成器,但是当我在终端中运行 yo 时,webapp 没有按预期列出。生成器实际上是在
中创建的
1 | /Users/jonmacbook/.node/lib/node_modules/generator-webapp |
如果需要全局访问,这似乎不正确
这是我安装生成器时完整输出的代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 | Last login: Mon Dec 30 20:55:07 on ttys000 a?? ~ desk a?? Desktop cd yeoman-dema a?? yeoman-dema yo webapp Error webapp You don't seem to have a generator with the name webapp installed. You can see available generators with npm search yeoman-generator and then install them with npm install [name]. To see the 0 registered generators run yo with the `--help` option. a?? yeoman-dema npm search yeoman-generator npm WARN Building the local index for the first time, please be patient npm http GET https://registry.npmjs.org/-/all npm http 400 https://registry.npmjs.org/-/all npm ERR! Error: illegal_database_name Name: 'error.html'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.: -/all npm ERR! at RegClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:275:14) npm ERR! at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:123:22) npm ERR! at Request.EventEmitter.emit (events.js:98:17) npm ERR! at Request. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:893:14) npm ERR! at Request.EventEmitter.emit (events.js:117:20) npm ERR! at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:844:12) npm ERR! at IncomingMessage.EventEmitter.emit (events.js:117:20) npm ERR! at _stream_readable.js:920:16 npm ERR! at process._tickCallback (node.js:415:13) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! System Darwin 12.4.0 npm ERR! command"node""/usr/local/bin/npm""search""yeoman-generator" npm ERR! cwd /Users/jonmacbook/Desktop/yeoman-dema npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/jonmacbook/Desktop/yeoman-dema/npm-debug.log npm ERR! not ok code 0 a?? yeoman-dema clear a?? yeoman-dema ~ a?? ~ npm install -g generator-webapp npm http GET https://registry.npmjs.org/generator-webapp npm http 200 https://registry.npmjs.org/generator-webapp npm http GET https://registry.npmjs.org/generator-webapp/-/generator-webapp-0.4.6.tgz npm http 200 https://registry.npmjs.org/generator-webapp/-/generator-webapp-0.4.6.tgz npm http GET https://registry.npmjs.org/yeoman-generator npm http GET https://registry.npmjs.org/cheerio npm http 200 https://registry.npmjs.org/yeoman-generator npm http GET https://registry.npmjs.org/yeoman-generator/-/yeoman-generator-0.14.2.tgz npm http 200 https://registry.npmjs.org/cheerio npm http 200 https://registry.npmjs.org/yeoman-generator/-/yeoman-generator-0.14.2.tgz npm http GET https://registry.npmjs.org/cheerio/-/cheerio-0.12.4.tgz npm http 200 https://registry.npmjs.org/cheerio/-/cheerio-0.12.4.tgz npm http GET https://registry.npmjs.org/cheerio-select npm http GET https://registry.npmjs.org/htmlparser2/3.1.4 npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/entities npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/diff npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/underscore.string npm http GET https://registry.npmjs.org/lodash npm http GET https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/isbinaryfile npm http GET https://registry.npmjs.org/dargs npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/inquirer npm http GET https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/shelljs npm http GET https://registry.npmjs.org/findup-sync npm http GET https://registry.npmjs.org/chalk npm http GET https://registry.npmjs.org/text-table npm http GET https://registry.npmjs.org/download npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/file-utils npm http 200 https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz npm http 200 https://registry.npmjs.org/cheerio-select npm http GET https://registry.npmjs.org/cheerio-select/-/cheerio-select-0.0.3.tgz npm http 200 https://registry.npmjs.org/htmlparser2/3.1.4 npm http GET https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.1.4.tgz npm http 200 https://registry.npmjs.org/entities npm http GET https://registry.npmjs.org/entities/-/entities-0.3.0.tgz npm http 200 https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz npm http 200 https://registry.npmjs.org/rimraf npm http 200 https://registry.npmjs.org/diff npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.5.tgz npm http GET https://registry.npmjs.org/diff/-/diff-1.0.8.tgz npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz npm http 200 https://registry.npmjs.org/cheerio-select/-/cheerio-select-0.0.3.tgz npm http 200 https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.1.4.tgz npm http 200 https://registry.npmjs.org/entities/-/entities-0.3.0.tgz npm http 200 https://registry.npmjs.org/mkdirp npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz npm http 200 https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.5.tgz npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz npm http 200 https://registry.npmjs.org/dargs npm http 200 https://registry.npmjs.org/isbinaryfile npm http 200 https://registry.npmjs.org/diff/-/diff-1.0.8.tgz npm http 200 https://registry.npmjs.org/lodash npm http GET https://registry.npmjs.org/dargs/-/dargs-0.1.0.tgz npm http GET https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-0.1.9.tgz npm http 200 https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/lodash/-/lodash-2.2.1.tgz npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz npm http GET https://registry.npmjs.org/glob/-/glob-3.2.7.tgz npm http 200 https://registry.npmjs.org/iconv-lite npm http GET https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz npm http 200 https://registry.npmjs.org/underscore.string npm http 200 https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-0.1.9.tgz npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz npm http 200 https://registry.npmjs.org/dargs/-/dargs-0.1.0.tgz npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.2.1.tgz npm http 200 https://registry.npmjs.org/findup-sync npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.7.tgz npm http GET https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.2.tgz npm http 200 https://registry.npmjs.org/chalk npm http 200 https://registry.npmjs.org/shelljs npm http GET https://registry.npmjs.org/chalk/-/chalk-0.3.0.tgz npm http 200 https://registry.npmjs.org/inquirer npm http 200 https://registry.npmjs.org/text-table npm http GET https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz npm http 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz npm http GET https://registry.npmjs.org/inquirer/-/inquirer-0.3.5.tgz npm http GET https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz npm http 200 https://registry.npmjs.org/download npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz npm http GET https://registry.npmjs.org/download/-/download-0.1.7.tgz npm http 200 https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz npm http 200 https://registry.npmjs.org/findup-sync/-/findup-sync-0.1.2.tgz npm http 200 https://registry.npmjs.org/chalk/-/chalk-0.3.0.tgz npm http 200 https://registry.npmjs.org/file-utils npm http 200 https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/file-utils/-/file-utils-0.1.5.tgz npm http 200 https://registry.npmjs.org/inquirer/-/inquirer-0.3.5.tgz npm http GET https://registry.npmjs.org/async/-/async-0.2.9.tgz npm http 200 https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz npm http 200 https://registry.npmjs.org/download/-/download-0.1.7.tgz npm http 200 https://registry.npmjs.org/file-utils/-/file-utils-0.1.5.tgz npm http 200 https://registry.npmjs.org/request npm http 200 https://registry.npmjs.org/async/-/async-0.2.9.tgz npm http GET https://registry.npmjs.org/request/-/request-2.27.0.tgz npm http 200 https://registry.npmjs.org/request/-/request-2.27.0.tgz npm http GET https://registry.npmjs.org/CSSselect npm http 200 https://registry.npmjs.org/CSSselect npm http GET https://registry.npmjs.org/CSSselect/-/CSSselect-0.4.0.tgz npm http GET https://registry.npmjs.org/domelementtype npm http GET https://registry.npmjs.org/readable-stream npm http GET https://registry.npmjs.org/domhandler npm http GET https://registry.npmjs.org/domutils npm http 200 https://registry.npmjs.org/CSSselect/-/CSSselect-0.4.0.tgz npm http 200 https://registry.npmjs.org/domelementtype npm http GET https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.1.tgz npm http 200 https://registry.npmjs.org/domutils npm http GET https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz npm http 200 https://registry.npmjs.org/readable-stream npm http 200 https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.1.tgz npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.17.tgz npm http 200 https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.17.tgz npm http 200 https://registry.npmjs.org/domhandler npm http GET https://registry.npmjs.org/domhandler/-/domhandler-2.0.3.tgz npm http 200 https://registry.npmjs.org/domhandler/-/domhandler-2.0.3.tgz npm http GET https://registry.npmjs.org/CSSwhat npm http GET https://registry.npmjs.org/domutils/-/domutils-1.3.0.tgz npm http 200 https://registry.npmjs.org/domutils/-/domutils-1.3.0.tgz npm http 200 https://registry.npmjs.org/CSSwhat npm http GET https://registry.npmjs.org/CSSwhat/-/CSSwhat-0.4.1.tgz npm http GET https://registry.npmjs.org/through2 npm http GET https://registry.npmjs.org/decompress npm http GET https://registry.npmjs.org/each-async npm http GET https://registry.npmjs.org/has-color npm http GET https://registry.npmjs.org/ansi-styles npm http GET https://registry.npmjs.org/request/-/request-2.25.0.tgz npm http 200 https://registry.npmjs.org/CSSwhat/-/CSSwhat-0.4.1.tgz npm http GET https://registry.npmjs.org/glob/-/glob-3.1.21.tgz npm http GET https://registry.npmjs.org/lodash/-/lodash-1.0.1.tgz npm http 200 https://registry.npmjs.org/each-async npm http 200 https://registry.npmjs.org/request/-/request-2.25.0.tgz npm http 200 https://registry.npmjs.org/has-color npm http GET https://registry.npmjs.org/each-async/-/each-async-0.1.1.tgz npm http 200 https://registry.npmjs.org/ansi-styles npm http 200 https://registry.npmjs.org/decompress npm http 200 https://registry.npmjs.org/through2 npm http GET https://registry.npmjs.org/has-color/-/has-color-0.1.1.tgz npm http GET https://registry.npmjs.org/decompress/-/decompress-0.1.5.tgz npm http GET https://registry.npmjs.org/ansi-styles/-/ansi-styles-0.2.0.tgz npm http GET https://registry.npmjs.org/through2/-/through2-0.1.0.tgz npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.21.tgz npm http 200 https://registry.npmjs.org/lodash/-/lodash-1.0.1.tgz npm http 200 https://registry.npmjs.org/each-async/-/each-async-0.1.1.tgz npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/decompress/-/decompress-0.1.5.tgz npm http 200 https://registry.npmjs.org/ansi-styles/-/ansi-styles-0.2.0.tgz npm http 200 https://registry.npmjs.org/has-color/-/has-color-0.1.1.tgz npm http 200 https://registry.npmjs.org/through2/-/through2-0.1.0.tgz npm http 200 https://registry.npmjs.org/inherits npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm http 200 https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http GET https://registry.npmjs.org/lodash/-/lodash-2.1.0.tgz npm http GET https://registry.npmjs.org/cli-color npm http GET https://registry.npmjs.org/mute-stream/0.0.3 npm http GET https://registry.npmjs.org/lodash/-/lodash-1.2.1.tgz npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/json-stringify-safe npm http GET https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/aws-sign npm http GET https://registry.npmjs.org/oauth-sign npm http GET https://registry.npmjs.org/cookie-jar npm http GET https://registry.npmjs.org/node-uuid npm http GET https://registry.npmjs.org/form-data npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.1.0.tgz npm http 200 https://registry.npmjs.org/cli-color npm http 200 https://registry.npmjs.org/lodash/-/lodash-1.2.1.tgz npm http GET https://registry.npmjs.org/cli-color/-/cli-color-0.2.3.tgz npm http 200 https://registry.npmjs.org/json-stringify-safe npm http 200 https://registry.npmjs.org/mute-stream/0.0.3 npm http 200 https://registry.npmjs.org/tunnel-agent npm http GET https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz npm http 200 https://registry.npmjs.org/forever-agent npm http GET https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.3.tgz npm http GET https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.3.0.tgz npm http GET https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.0.tgz npm http 200 https://registry.npmjs.org/qs npm http 200 https://registry.npmjs.org/oauth-sign npm http 200 https://registry.npmjs.org/http-signature npm http GET https://registry.npmjs.org/qs/-/qs-0.6.6.tgz npm http GET https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz npm http GET https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz npm http 200 https://registry.npmjs.org/aws-sign npm http GET https://registry.npmjs.org/aws-sign/-/aws-sign-0.3.0.tgz npm http 200 https://registry.npmjs.org/node-uuid npm http 200 https://registry.npmjs.org/form-data npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz npm http 200 https://registry.npmjs.org/cookie-jar npm http GET https://registry.npmjs.org/form-data/-/form-data-0.1.2.tgz npm http 200 https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.3.0.tgz npm http 200 https://registry.npmjs.org/cli-color/-/cli-color-0.2.3.tgz npm http GET https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.3.0.tgz npm http 200 https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.3.tgz npm http 200 https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz npm http 200 https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.0.tgz npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.6.tgz npm http 200 https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz npm http 200 https://registry.npmjs.org/aws-sign/-/aws-sign-0.3.0.tgz npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz npm http 200 https://registry.npmjs.org/http-signature/-/http-signature-0.10.0.tgz npm http 200 https://registry.npmjs.org/form-data/-/form-data-0.1.2.tgz npm http 200 https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.3.0.tgz npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/hawk npm http GET https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz npm http 200 https://registry.npmjs.org/sigmund npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz npm http 200 https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz npm http 200 https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz npm http GET https://registry.npmjs.org/adm-zip npm http GET https://registry.npmjs.org/mout npm http GET https://registry.npmjs.org/temp npm http GET https://registry.npmjs.org/stream-combiner npm http GET https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/xtend npm http 200 https://registry.npmjs.org/stream-combiner npm http GET https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz npm http 200 https://registry.npmjs.org/temp npm http 200 https://registry.npmjs.org/adm-zip npm http GET https://registry.npmjs.org/temp/-/temp-0.6.0.tgz npm http 200 https://registry.npmjs.org/mout npm http GET https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.3.tgz npm http GET https://registry.npmjs.org/mout/-/mout-0.6.0.tgz npm http 200 https://registry.npmjs.org/tar npm http GET https://registry.npmjs.org/tar/-/tar-0.1.19.tgz npm http 200 https://registry.npmjs.org/xtend npm http GET https://registry.npmjs.org/xtend/-/xtend-2.0.6.tgz npm http GET https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz npm http 200 https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz npm http 200 https://registry.npmjs.org/temp/-/temp-0.6.0.tgz npm http 200 https://registry.npmjs.org/mout/-/mout-0.6.0.tgz npm http 200 https://registry.npmjs.org/tar/-/tar-0.1.19.tgz npm http 200 https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.3.tgz npm http 200 https://registry.npmjs.org/xtend/-/xtend-2.0.6.tgz npm http 200 https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz npm http 200 https://registry.npmjs.org/graceful-fs npm http GET https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz npm http 200 https://registry.npmjs.org/combined-stream npm http GET https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.4.tgz npm http GET https://registry.npmjs.org/ctype/0.5.2 npm http GET https://registry.npmjs.org/assert-plus/0.1.2 npm http GET https://registry.npmjs.org/asn1/0.1.11 npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz npm http 200 https://registry.npmjs.org/asn1/0.1.11 npm http 200 https://registry.npmjs.org/assert-plus/0.1.2 npm http GET https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz npm http GET https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz npm http 200 https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.4.tgz npm http 200 https://registry.npmjs.org/ctype/0.5.2 npm http GET https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz npm http GET https://registry.npmjs.org/is-object npm http GET https://registry.npmjs.org/object-keys npm http 200 https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz npm http 200 https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz npm http 200 https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz npm http 200 https://registry.npmjs.org/is-object npm http GET https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz npm http 200 https://registry.npmjs.org/object-keys npm WARN deprecated [email protected]: Please update to the latest object-keys npm http GET https://registry.npmjs.org/object-keys/-/object-keys-0.2.0.tgz npm http GET https://registry.npmjs.org/cryptiles npm http GET https://registry.npmjs.org/sntp npm http GET https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/boom npm http 200 https://registry.npmjs.org/is-object/-/is-object-0.1.2.tgz npm http 200 https://registry.npmjs.org/object-keys/-/object-keys-0.2.0.tgz npm http 200 https://registry.npmjs.org/cryptiles npm http GET https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz npm http 200 https://registry.npmjs.org/sntp npm http 200 https://registry.npmjs.org/boom npm http GET https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz npm http GET https://registry.npmjs.org/boom/-/boom-0.4.2.tgz npm http 200 https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz npm http GET https://registry.npmjs.org/foreach npm http GET https://registry.npmjs.org/indexof npm http GET https://registry.npmjs.org/is npm http 200 https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz npm http 200 https://registry.npmjs.org/boom/-/boom-0.4.2.tgz npm http 200 https://registry.npmjs.org/hoek npm http GET https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz npm http GET https://registry.npmjs.org/delayed-stream/0.0.5 npm http 200 https://registry.npmjs.org/indexof npm http 200 https://registry.npmjs.org/foreach npm http GET https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz npm http GET https://registry.npmjs.org/foreach/-/foreach-2.0.4.tgz npm http 200 https://registry.npmjs.org/is npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz npm http GET https://registry.npmjs.org/is/-/is-0.2.7.tgz npm http 200 https://registry.npmjs.org/foreach/-/foreach-2.0.4.tgz npm http 200 https://registry.npmjs.org/delayed-stream/0.0.5 npm http GET https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz npm http 200 https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz npm http 200 https://registry.npmjs.org/is/-/is-0.2.7.tgz npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz npm http GET https://registry.npmjs.org/es5-ext npm http GET https://registry.npmjs.org/memoizee npm http 200 https://registry.npmjs.org/memoizee npm http GET https://registry.npmjs.org/memoizee/-/memoizee-0.2.6.tgz npm http 200 https://registry.npmjs.org/es5-ext npm http GET https://registry.npmjs.org/es5-ext/-/es5-ext-0.9.2.tgz npm http 200 https://registry.npmjs.org/memoizee/-/memoizee-0.2.6.tgz npm http 200 https://registry.npmjs.org/es5-ext/-/es5-ext-0.9.2.tgz npm http GET https://registry.npmjs.org/duplexer npm http GET https://registry.npmjs.org/osenv/0.0.3 npm http GET https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/fstream npm http 200 https://registry.npmjs.org/duplexer npm http GET https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz npm http 200 https://registry.npmjs.org/osenv/0.0.3 npm http 304 https://registry.npmjs.org/rimraf npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz npm http GET https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz npm http 200 https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz npm http 200 https://registry.npmjs.org/block-stream npm http GET https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.1.4.tgz npm http 200 https://registry.npmjs.org/fstream npm http GET https://registry.npmjs.org/fstream/-/fstream-0.1.25.tgz npm http 200 https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz npm http GET https://registry.npmjs.org/event-emitter npm http GET https://registry.npmjs.org/next-tick npm http 200 https://registry.npmjs.org/block-stream/-/block-stream-0.0.7.tgz npm http 200 https://registry.npmjs.org/fstream/-/fstream-0.1.25.tgz npm http 200 https://registry.npmjs.org/next-tick npm http GET https://registry.npmjs.org/next-tick/-/next-tick-0.1.0.tgz npm http 200 https://registry.npmjs.org/event-emitter npm http GET https://registry.npmjs.org/event-emitter/-/event-emitter-0.2.2.tgz npm http 200 https://registry.npmjs.org/next-tick/-/next-tick-0.1.0.tgz npm http 200 https://registry.npmjs.org/event-emitter/-/event-emitter-0.2.2.tgz npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.1.tgz npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.1.tgz [email protected] /Users/jonmacbook/.node/lib/node_modules/generator-webapp a"?a"€a"€ [email protected] ([email protected], [email protected], [email protected], [email protected]) a""a"€a"€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) a?? ~ yo [?] What would you like to do? (Use arrow keys) a?ˉ Install a generator Find some help Get me out of here! |
为什么 Yeoman 会安装在我机器的错误部分,而不是视频教程指示的 usr/local/share/npm 文件夹?
您是否在全局范围内安装了生成器?
-g 在 npm install 调用中:
此外,它必须以管理员权限执行。