Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

the most troublesome cli ever #2610

Open mridularya7 opened 6 years ago

mridularya7 commented 6 years ago

cannot install via npm. tried with yarn. says "says installed successfully" yet cmd says "polymer not recognized as an external command" fedup of this think please help or recommend not to use it in future.

cwadrupldijjit commented 5 years ago

@mridularya7, apologies that you aren't having a good time with that, but I'd guess the problem could be one of three things:

  1. The command-line script didn't install when expected, or
  2. Your PATH doesn't include the directory of the global yarn packages

As for it not installing via NPM like expected, what problems did you experience? What versions of NPM and yarn are you installing with? What version of Node do you have? What's the error message you're getting when trying to install it with NPM?

I've been able to install it on a Windows 10 machine with Node version 10.12.0 and NPM version 6.4.1.

cwadrupldijjit commented 5 years ago

Though from what it looks like to me, installing it on a Windows 10 computer requires a bash environment, so you may be able to do something with it in Git Bash or Windows Subsystem for Linux. The documentation on their website (https://polymer-library.polymer-project.org/3.0/docs/tools/polymer-cli) upfront tells you to run it in WSL.

I wonder if there is any way to convince the CLI people to support Windows natively in the CLI.

Or maybe I should just actually spend some time and look at what needs to be done to do that.

stale[bot] commented 4 years ago

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.