- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
check out repository, run "npm i --verbose"
Any log messages given by the failure
npm verb stack TypeError: Invalid Version: ^6.0.1
npm verb stack at new SemVer (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\semver\classes\semver.js:38:13)
npm verb stack at compare (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\semver\functions\compare.js:3:32)
npm verb stack at Object.gte (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\semver\functions\gte.js:2:30)
npm verb stack at CanPlaceDep.checkCanPlaceCurrent (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\can-place-dep.js:173:51)
npm verb stack at CanPlaceDep.checkCanPlace (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\can-place-dep.js:157:27)
npm verb stack at new CanPlaceDep (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\can-place-dep.js:114:26)
npm verb stack at new PlaceDep (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\place-dep.js:87:19)
npm verb stack at C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:943:31
npm verb stack at Array.map ()
npm verb stack at Arborist.[buildDepStep] (C:\Users\R\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:943:8)
Expected/desired behavior
npm installs packages successfully
OS and Version?
Windows 11
Versions
Mention any other details that might be useful
Deleting the package-lock.json allows the install to work, but I then get a build error in devices.ts "TS2345: Argument of type 'SymmetricKeySecurityClient' is not assignable to parameter of type 'X509SecurityClient | TpmSecurityClient | SymmetricKeySecurityClient'. ", I'm not sure if this is related or a separate issue.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
Deleting the package-lock.json allows the install to work, but I then get a build error in devices.ts "TS2345: Argument of type 'SymmetricKeySecurityClient' is not assignable to parameter of type 'X509SecurityClient | TpmSecurityClient | SymmetricKeySecurityClient'. ", I'm not sure if this is related or a separate issue.