2
votes
$ npm install -g polymer-cli
/home/kishore/.npm-global/bin/polymer -> /home/kishore/.npm-global/lib/node_modules/polymer-cli/bin/polymer.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/polymer-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ [email protected]
updated 1 package in 8.834s
$ polymer --version
polymer: command not found
1
How did you install node and is npm's node_modules/.bin parth of the path?k0pernikus
try running: echo $PATH and see what it's there. And also compare those folders against which node and which npm.k0pernikus
Thanks! I got it!Kishore S
How did you get it? What was the issue? If you found a soution to your problem please add your own answer so that it may help somebody else out facing a similar issue.k0pernikus

1 Answers

1
votes

I specified the path $PATH to the directory where the global packages are installed!