nodejs icon indicating copy to clipboard operation
nodejs copied to clipboard

Compensate for NPM CLI deprecating -global

Open Brantone opened this issue 2 years ago • 3 comments

Move to recommended --location=global param

Description

NPM CLI is deprecating -global ... recently release prints it to stderr (though another release reverts it).

Issues Resolved

#245

Check List

  • [x] A summary of changes made is included in the CHANGELOG under ## Unreleased
  • [ ] New functionality includes testing.
  • [ ] New functionality has been documented in the README if applicable.

Brantone avatar Jun 07 '22 01:06 Brantone

Bunch of errors spitting out of Dokken that at first brush not sure how they're related.

Brantone avatar Jun 07 '22 05:06 Brantone

Note : Some older versions of NPM don't yet support --location ... it's not yet known when that was introduced. Mitigation would be to do a check using npm -v and react according.

Brantone avatar Jun 09 '22 10:06 Brantone

Note : Some older versions of NPM don't yet support --location ... it's not yet known when that was introduced. Mitigation would be to do a check using npm -v and react according.

This seems to be correct based on the failures here. This needs to be addressed before merging/releasing.

ramereth avatar Aug 08 '22 20:08 ramereth