Polymer CLI 1.9.7 fails to install

55 views
Skip to first unread message

Thad Humphries

unread,
Mar 4, 2019, 3:01:47 PM3/4/19
to Polymer
The install for the Polymer CLI 1.9.7 appears to be broken. I just upgraded Node.js from 10.15.1 to 10.15.2, and npm from 6.4.1 to 6.8.0. I was told

    ╭────────────────────────────────────────╮
    │                                        │
    │    Update available 1.9.6 → 1.9.7      │
    │   Run npm i -g polymer-cli to update   │
    │                                        │
    ╰────────────────────────────────────────╯

but got the following error:

    $ npm i -g polymer-cli
    npm ERR! code ETARGET
    npm ERR! notarget No matching version found for polymer-pro...@4.0.3
    npm ERR! notarget In most cases you or one of your dependencies are requesting
    npm ERR! notarget a package version that doesn't exist.
    npm ERR! notarget
    npm ERR! notarget It was specified as a dependency of 'polymer-cli'
    npm ERR! notarget

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/thad/.npm/_logs/2019-03-04T16_18_14_852Z-debug.log

I see the same error on two Macs, both running Mojave 10.14.3

Another user on the on the Slack channel sees the same problem: https://polymer.slack.com/archives/C03PF4L4L/p1551727465278900

Justin Fagnani

unread,
Mar 4, 2019, 3:39:04 PM3/4/19
to Thad Humphries, Polymer
polymer-pro...@4.0.3 is published, so I'm not sure why it wouldn't be found.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/61c47e0b-18f6-4e17-8437-74288c1e7e38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brendan Baldwin

unread,
Mar 4, 2019, 3:43:15 PM3/4/19
to Thad Humphries, Polymer
Hmmm.  polymer-pro...@4.0.3 is definitely published.  I just tried the node upgrade and polymer-cli install myself and it was successful.

I wonder if there is something delayed on the npmjs CDN side.  It wouldn't be the first time for that kind of thing.

~/s/s/cli-test λ nvm install 10

Downloading https://nodejs.org/dist/v10.15.2/node-v10.15.2-darwin-x64.tar.gz...

######################################################################## 100.0%

Computing checksum with shasum -a 256

Checksums matched!

Downloading and installing node v10.15.2...

Now using node v10.15.2 (npm v6.4.1)

~/s/s/cli-test λ npm i -g polymer-cli

/Users/brendanb/.nvm/versions/node/v10.15.2/bin/polymer -> /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/bin/polymer.js


> fsev...@1.2.7 install /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/fsevents

> node install


node-pre-gyp WARN Using request for node-pre-gyp https download 

[fsevents] Success: "/Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" is installed via remote


> w...@1.11.1 install /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/wd

> node scripts/build-browser-scripts



> spawn...@1.0.15 postinstall /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/spawn-sync

> node postinstall



> sauce-conne...@1.2.4 postinstall /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/sauce-connect-launcher

> node scripts/install.js || nodejs scripts/install.js



> wct-...@2.1.0 postinstall /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/wct-sauce

> node scripts/postinstall.js


Prefetching the Sauce Connect binary.

Missing Sauce Connect local proxy, downloading dependency

This will only happen once.

Downloading 10.0MB

Archive checksum verified.

Unzipping /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/sauce-connect-launcher/sc/sc-4.5.3-osx.zip

Removing /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/sauce-connect-launcher/sc/sc-4.5.3-osx.zip

Sauce Connect downloaded correctly


> wct-...@2.1.3 postinstall /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/wct-local

> node scripts/postinstall.js


----------

selenium-standalone installation starting

----------


---

selenium install:

from: https://selenium-release.storage.googleapis.com/3.12/selenium-server-standalone-3.12.0.jar

to: /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/selenium-server/3.12.0-server.jar

---

chrome install:

from: https://chromedriver.storage.googleapis.com/2.43/chromedriver_mac64.zip

to: /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/chromedriver/2.43-x64-chromedriver

---

firefox install:

from: https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-macos.tar.gz

to: /Users/brendanb/.nvm/versions/node/v10.15.2/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/geckodriver/0.23.0-x64-geckodriver



-----

selenium-standalone installation finished

-----

+ polym...@1.9.7

added 1295 packages from 1124 contributors in 28.233s



On Mon, Mar 4, 2019 at 12:01 PM Thad Humphries <thad.hu...@gmail.com> wrote:
Follow Polymer on Google+: plus.google.com/107187849809354688692

Thad Humphries

unread,
Mar 4, 2019, 4:09:33 PM3/4/19
to Polymer
I just uninstalled polymer-cli and tried again. Same problem, so I installed polym...@1.9.6. I guess I'll give it 24 hours and try again.

Thad Humphries

unread,
Mar 4, 2019, 4:41:36 PM3/4/19
to Polymer
Problem solved. We have a Nexus Repository Manager here, and there was some problem with its npm-proxy cache of polymer-cli. I removed that and tried again. Now it works. Sorry for the trouble.

Brendan Baldwin

unread,
Mar 4, 2019, 4:59:20 PM3/4/19
to Thad Humphries, Polymer
No problem.  Hope latest CLI works well for you! :)

Reply all
Reply to author
Forward
0 new messages