Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

README instructions don't work #84

Open
davidmaxwaterman opened this issue Oct 17, 2017 · 4 comments
Open

README instructions don't work #84

davidmaxwaterman opened this issue Oct 17, 2017 · 4 comments

Comments

@davidmaxwaterman
Copy link

08:36:33 ~$ mkdir my-app
08:36:38 ~$ cd my-app
08:36:38 ~/my-app$ polymer init polymer-starter-kit-custom-build
info:    Running template polymer-init-polymer-starter-kit-custom-build:app...
error:   Template polymer-init-polymer-starter-kit-custom-build:app not found
error:   cli runtime exception: Error: Template polymer-init-polymer-starter-kit-custom-build:app not found
error:   Error: Template polymer-init-polymer-starter-kit-custom-build:app not found
    at Object.<anonymous> (/home/davidmaxwaterman/.nvm/versions/node/v6.11.4/lib/node_modules/polymer-cli/lib/init/init.js:220:19)
    at next (native)
    at fulfilled (/home/davidmaxwaterman/.nvm/versions/node/v6.11.4/lib/node_modules/polymer-cli/lib/init/init.js:17:58)
    at process._tickCallback (internal/process/next_tick.js:109:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:383:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:496:3
08:36:42 ~/my-app$ 

According to the polymer-cli help, it should work if you use the --name parameter, but that also doesn't work:

08:37:54 ~/my-app$ polymer init --name polymer-starter-kit-custom-build
info:    Running template polymer-init-polymer-starter-kit-custom-build:app...
error:   Template polymer-init-polymer-starter-kit-custom-build:app not found
error:   cli runtime exception: Error: Template polymer-init-polymer-starter-kit-custom-build:app not found
error:   Error: Template polymer-init-polymer-starter-kit-custom-build:app not found
    at Object.<anonymous> (/home/davidmaxwaterman/.nvm/versions/node/v6.11.4/lib/node_modules/polymer-cli/lib/init/init.js:220:19)
    at next (native)
    at fulfilled (/home/davidmaxwaterman/.nvm/versions/node/v6.11.4/lib/node_modules/polymer-cli/lib/init/init.js:17:58)
    at process._tickCallback (internal/process/next_tick.js:109:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:383:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:496:3

It does seem to work if I just run polymer init and select it from the menu though.

08:38:05 ~/my-app$ polymer --version
1.5.7

@abdonrd
Copy link
Member

abdonrd commented Oct 19, 2017

It's a bit strange.

  • It doesn't work: polymer init polymer-starter-kit-custom-build
  • It works: polymer init & select polymer-starter-kit-custom-build
  • It works: polymer init custom-build

screen shot 2017-10-19 at 11 15 19

@abdonrd
Copy link
Member

abdonrd commented Oct 19, 2017

@FredKSchott It seems somewhat related to the CLI. You know?

@stramel
Copy link
Contributor

stramel commented Dec 12, 2017

@abdonrd it looks like just a labelling mismatch. The CLI looks for generator-polymer-init- when you pass an argument to polymer init. When it generates the list it is pulling the title from the generator's package.json

"name": "polymer-starter-kit-custom-build",

@FredKSchott FredKSchott removed their assignment Mar 29, 2018
@ghost
Copy link

ghost commented Apr 4, 2018

README instructions don't work

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

4 participants