tools
tools copied to clipboard
polymer init still not working
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
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
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
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.
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!!
Installling node 14 worked. Thanks mate @WilliamCastr0