Tools: polymer init still not working

Created on 12 Dec 2018  路  8Comments  路  Source: Polymer/tools

Windows 10 Home 64bit,

polymer --version
1.9.2
npm --version
6.4.1
git --version
git version 2.19.1.windows.1

Init script stuck at

polymer init
? Which starter template would you like to use? polymer-3-application
info:   Running template polymer-3-application...

There is gitignore (without dot at the begin) at \node_modules\polymer-cli\templates(application|elements)\polymer-3.x. I also tried to add .gitignore and .npmignore

Most helpful comment

It works; Instead of going through polymer cli menu if you directly use polymer init polymer-3-starter-kit in terminal,

All 8 comments

On Windows 10, Polymer version 1.9.7 still hangs when running the polymer init command and making a selection.
Can we get an update on this?

I have upgraded to Polymer CLI 1.9.9, but it still hangs and doesn't do anything on windows. Is there any fix?

It works; Instead of going through polymer cli menu if you directly use polymer init polymer-3-starter-kit in terminal,

polymer init still doesn't work for me on Windows, even when providing a full command like polymer init polymer-3-element. However, polymer init polymer-3-starter-kit was fine. My environment is as follow:

  • Windows version: Version 1803 (Build 17134.765)
  • Npm: 6.4.1
  • Polymer: 1.9.0-pre.2

Do we have an update? Or what can be missing?

Looks like I can get it to work on Windows 10 by using the Git Bash shell, but still not working from a native Windows Command Prompt.

polymer init still not working for

  • Windows version: Version 1903 (Build 18362.535)
  • Node v12.13.1
  • Npm 6.12.1

image

Polymer CLI is deprecated and its not further developed. There was an article about this on March-2019. Polymer team has developers to move something else like Webpack CLI. But there is no guide on how to start a project.
From my personal experience, I would recommend you to use the following command instead.
vue create hello-world

For newer projects open-wc is recommended by the community that provides both webpack and rollup support

Was this page helpful?
0 / 5 - 0 ratings