Open frontenddeveloppercoruna opened 6 years ago
You can either do polymer init
then select the project in an interactive shell, or you can specify a specific version to init, eg. polymer init polymer-2-starter-kit
Hi jsilvermist,
With the command "polymer init" I can only start a project in polymer 2 or 3. I need to start a project in polymer 1. For this reason the command "polymer init" is not valid for me.
This is very strange because I am following the instructions to start a project in polymer 1 of the official page of polymer:
https://www.polymer-project.org/1.0/start/toolbox/set-up
In this page, the polymer team recommend use the command "polymer init starter-kit" but it does not work.
Thanks for you response.
Best regards,
Hi Allen,
but "polymer-2-starter-kit" start a project in polymer 2 , I need start a project in polymer 1. The command " polymer init polymer-2-starter-kit" isn't valid for me. Also, with polymer init I can start a project in polymer 2 or polymer 3 only.
Thanks
2018-05-20 20:45 GMT+02:00 Jason Allen notifications@github.com:
You can either do polymer init then select the project in an interactive shell, or you can specify a specific version to init, eg. polymer init polymer-2-starter-kit
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Polymer/polymer-cli/issues/1010#issuecomment-390502475, or mute the thread https://github.com/notifications/unsubscribe-auth/AlkB3n6jCo_FxW3Q26mRL8a2NjCPUwSFks5t0bm5gaJpZM4UGIV4 .
If you need the Polymer 1 starter kit, you can clone the Polymer/polymer-starter-kit repo and checkout the latest version 2 tag, eg.
git clone https://github.com/Polymer/polymer-starter-kit.git
cd polymer-starter-kit
git checkout v2.2.0
Hi,
This instructions are valid for me.It is working fine.
I appreciate this a lot, tell me if you need something
Thanks you very much.
best regards.
2018-05-30 9:26 GMT+02:00 Jason Allen notifications@github.com:
If you need the Polymer 1 starter kit, you can clone the Polymer/polymer-starter-kit repo and checkout the latest version 2 tag, eg.
git clone https://github.com/Polymer/polymer-starter-kit.git cd polymer-starter-kit git checkout v2.2.0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Polymer/polymer-cli/issues/1010#issuecomment-393058050, or mute the thread https://github.com/notifications/unsubscribe-auth/AlkB3pkhNWi3JxfHzi4wG5nZXXXdwdB-ks5t3kmzgaJpZM4UGIV4 .
I have shared this with the stackoverflow comunity:
(I am bulbasurmsr too)
polymer is very good, the problem that I see polymer is that there are a lot less people programming in this library in comparison with the reactive and angular frameworks.
thank you very much again!
2018-06-05 0:02 GMT+02:00 frontend developper < frontenddeveloppercoruna@gmail.com>:
Hi,
This instructions are valid for me.It is working fine.
I appreciate this a lot, tell me if you need something
Thanks you very much.
best regards.
2018-05-30 9:26 GMT+02:00 Jason Allen notifications@github.com:
If you need the Polymer 1 starter kit, you can clone the Polymer/polymer-starter-kit repo and checkout the latest version 2 tag, eg.
git clone https://github.com/Polymer/polymer-starter-kit.git cd polymer-starter-kit git checkout v2.2.0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Polymer/polymer-cli/issues/1010#issuecomment-393058050, or mute the thread https://github.com/notifications/unsubscribe-auth/AlkB3pkhNWi3JxfHzi4wG5nZXXXdwdB-ks5t3kmzgaJpZM4UGIV4 .
Had the same problem when running - polymer init polymer3-starter-kit.
However, when i just ran ploymer init and chose polymer3-starter-kit, the error does not appear. Below is the sequence of commands
`Kameswarans-MacBook-Air:Learning kameswaran$ pwd
/Users/kameswaran/Documents/Learning
Kameswarans-MacBook-Air:Learning kameswaran$ cd msapp
-bash: cd: msapp: No such file or directory
Kameswarans-MacBook-Air:Learning kameswaran$ mkdir ms-polymer-app
Kameswarans-MacBook-Air:Learning kameswaran$ cd ms-polymer-app/
Kameswarans-MacBook-Air:ms-polymer-app kameswaran$
Kameswarans-MacBook-Air:ms-polymer-app kameswaran$
Kameswarans-MacBook-Air:ms-polymer-app kameswaran$
Kameswarans-MacBook-Air:ms-polymer-app kameswaran$ polymer init polymer3-starter-kit
info: Running template polymer-init-polymer3-starter-kit:app...
error: Template polymer-init-polymer3-starter-kit:app not found
error: cli runtime exception: Error: Template polymer-init-polymer3-starter-kit:app not found
error: Error: Template polymer-init-polymer3-starter-kit:app not found
at Object.
`
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
When I execute this command:
polymer init starter-kit
I receive this error:
error: [init] Template polymer-init-starter-kit:app not found error: [cli.main] cli runtime exception: Error: Template polymer-init-starter-kit:app not found error: [cli.main] Error: Template polymer-init-starter-kit:app not found at Object. (C:\Users\ruben\AppData\Roaming\npm\node_modules\polymer-cli\lib\init\init.js:223:19)
at Generator.next ()
at fulfilled (C:\Users\ruben\AppData\Roaming\npm\node_modules\polymer-cli\lib\init\init.js:17:58)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
Versions & Environment
Steps to Reproduce
1.-Create a new project folder to start from
mkdir my-app cd my-app
2.-Initialize your project with an app template
polymer init starter-kit
Actual Results
this error is displayed in the console:
error: [init] Template polymer-init-starter-kit:app not found error: [cli.main] cli runtime exception: Error: Template polymer-init-starter-kit:app not found error: [cli.main] Error: Template polymer-init-starter-kit:app not found at Object. (C:\Users\ruben\AppData\Roaming\npm\node_modules\polymer-cli\lib\init\init.js:223:19)
at Generator.next ()
at fulfilled (C:\Users\ruben\AppData\Roaming\npm\node_modules\polymer-cli\lib\init\init.js:17:58)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3