You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use npm-run-all to execute multiple npm scripts. It looks like npm-run-all uses the normalize-package-data library to read package.json files.
That library (which has a ^2.1.4 dependency on hosted-git-info) calls hostedGitInfo.fromUrl() with the version of each dev and prod dependency version.
With the v2.7.0 release, passing fromUrl a semver string now throws an error on line 61 at the parsed.host.replace callsite, presumably because a semver string doesn't parse to a valid URL, which is reasonable.
However the unfortunate consequences are that using npm-run-all from a fresh npm-install yields:
$ npm run build
> @my-project@1.0.0 build /home/me/dev/my-project
> run-s clean compile
ERROR: Cannot read property 'replace' of null
:<
The text was updated successfully, but these errors were encountered:
We use
npm-run-all
to execute multiple npm scripts. It looks likenpm-run-all
uses thenormalize-package-data
library to readpackage.json
files.That library (which has a
^2.1.4
dependency onhosted-git-info
) callshostedGitInfo.fromUrl()
with the version of each dev and prod dependency version.With the v2.7.0 release, passing
fromUrl
a semver string now throws an error on line 61 at theparsed.host.replace
callsite, presumably because a semver string doesn't parse to a valid URL, which is reasonable.However the unfortunate consequences are that using
npm-run-all
from a fresh npm-install yields::<
The text was updated successfully, but these errors were encountered: