tools icon indicating copy to clipboard operation
tools copied to clipboard

polymer init still not working

Open mgvs opened this issue 6 years ago • 11 comments

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

mgvs avatar Dec 12 '18 14:12 mgvs

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?

kourtni avatar Mar 17 '19 23:03 kourtni

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

aneesshameed avatar May 06 '19 09:05 aneesshameed

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

aneesshameed avatar May 06 '19 10:05 aneesshameed

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?

ghost avatar May 23 '19 08:05 ghost

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.

kourtni avatar Aug 07 '19 23:08 kourtni

polymer init still not working for

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

image

armujahid avatar Jan 02 '20 09:01 armujahid

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

aneesshameed avatar Jan 02 '20 09:01 aneesshameed

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

armujahid avatar Jan 03 '20 05:01 armujahid

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.

stale[bot] avatar Jan 02 '21 08:01 stale[bot]

Good day 🐱‍👤,

Recently I had this issue and my way to solve it was the following. Take into account this "error" is because the node version is not supported for Polymer:

  • Install NVM to manage your node version. If you want you could use this guide https://linuxhint.com/downgrade-node-version-windows/
  • Change your node version to 14 or similar with NVM.
  • Implement polymer init 😊.
  • Enjoy your Polymer coding!!

WilliamCastr0 avatar Feb 02 '23 20:02 WilliamCastr0

Installling node 14 worked. Thanks mate @WilliamCastr0

VinayakaD-RS avatar Mar 29 '23 13:03 VinayakaD-RS