Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
polymer-cli global install error #2502
npm error when running
This is done in CI process in a Docker container.
Versions & Environment
Steps to Reproduce
To reproduce, build this Dockerfile:
NPM should install polymer-cli without an error.
We get an error in the output and the installation exists with error code 1:
The log file mentioned in the output says:
I have the same error on MacOS.
npm -v: 5.3.0
Closing per https://github.com/Polymer/polymer-cli/issues/832#issuecomment-320238339 Thanks again @guss77 !
Or - better yet, fix the problem in NPM itself, as documented here: npm/npm#17346 . Though by the fact that that bug report is "archived", there's a good indication that NPM maintainers don't intend to fix this problem and consider it "purposefully broken".
Maybe someone would like to open a new bug report about this problem, I personally am no longer invested in the nodejs community, a lot because of attitudes demonstrated in the above linked NPM issue #17346, which is complete indifference to incorrect behavior that does not impact the developer own personal workstation.
Or - better yet, fix the problem in NPM itself, as documented here: npm/npm#17346 .
Though by the fact that the npm/npm repository is archived (with thousands of bugs still open), with development moved (unexplained) to another Github repository with no bug tracking - and developers are now expected to file bugs through a Discourse forum posting - all this is a good indication that NPM maintainers aren't really interested in fixing this and other bugs.
Maybe someone would like to re-report this bug here: https://npm.community/c/bugs.
I personally am no longer invested in the nodejs community, a lot because of attitudes demonstrated in the process described here: which is complete indifference to incorrect behavior that does not impact the developer own personal workstation (relegating bug reports to forum posts is basically saying that they don't care about bug reports).
This seem to be the best solution (don't use this on production machine):