yeoman / generator-polymer

Scaffold out a Polymer project
http://polymer-project.org
926 stars 149 forks source link

install issue #241

Closed ghost closed 8 years ago

ghost commented 8 years ago

Kind of cant see what i am doing wrong. i tried with node 0.12 and 4.0 using nvm for isolation as i always do.

Can someone help me out here ?


gedw99-MacBook-Pro:polymer-gen-old apple$ npm install -g generator-polymer
\
> spawn-sync@1.0.13 postinstall /Users/apple/.nvm/versions/node/v0.12.7/lib/node_modules/generator-polymer/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall

generator-polymer@1.2.5 /Users/apple/.nvm/versions/node/v0.12.7/lib/node_modules/generator-polymer
├── ncp@2.0.0
├── mkdirp@0.5.1 (minimist@0.0.8)
├── chalk@1.1.1 (escape-string-regexp@1.0.3, supports-color@2.0.0, ansi-styles@2.1.0, has-ansi@2.0.0, strip-ansi@3.0.0)
├── validate-element-name@1.0.0 (log-symbols@1.0.2, ncname@1.0.0)
├── yosay@1.0.5 (ansi-regex@1.1.1, ansi-styles@2.1.0, word-wrap@1.1.0, strip-ansi@2.0.1, pad-component@0.0.1, taketalk@1.0.0, minimist@1.2.0, string-width@1.0.1, repeating@1.1.3)
├── rimraf@2.4.3 (glob@5.0.15)
├── html-wiring@1.2.0 (detect-newline@1.0.3, cheerio@0.19.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-is-absolute@1.0.0, path-exists@1.0.0, yeoman-assert@2.1.0, async@1.4.2, 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.4, run-async@0.1.0, shelljs@0.5.3, cli-table@0.3.1, glob@5.0.15, through2@2.0.0, diff@2.1.3, findup-sync@0.2.1, underscore.string@3.2.2, mem-fs-editor@2.0.4, cross-spawn@2.0.0, pretty-bytes@2.0.1, dateformat@1.0.11, github-username@2.0.0, download@4.4.1, yeoman-environment@1.2.7, gruntfile-editor@1.0.0, sinon@1.17.2, inquirer@0.8.5)
gedw99-MacBook-Pro:polymer-gen-old apple$ yo polymer
-bash: yo: command not found
gedw99-MacBook-Pro:polymer-gen-old apple$ which yo
gedw99-MacBook-Pro:polymer-gen-old apple$ which node
/Users/apple/.nvm/versions/node/v0.12.7/bin/node
gedw99-MacBook-Pro:polymer-gen-old apple$ which npm
/Users/apple/.nvm/versions/node/v0.12.7/bin/npm
gedw99-MacBook-Pro:polymer-gen-old apple$ 
samccone commented 8 years ago

@gedw99 you need to install yeoman :)

http://yeoman.io/

ghost commented 8 years ago

please add npm install -g yo to ReadMe +1

arthurvr commented 8 years ago

That seems like expected knowledge when using Yeoman :) The site is linked btw.