-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
We have one of the local dependencies defined with file:../dependency Run of npm update --save results in
npm ERR! Cannot read properties of null (reading 'isRoot')
and package.json is not updated
Expected Behavior
update should skip file:../ dependencies and update properly package.json
Steps To Reproduce
just having one of dependencies defined as file:../ and run of npm update --save results in error
Environment
- npm: 8.5.1
- Node.js: v16.14.0
- OS Name: MacOs
- System Model Name:
- npm config: nothing worth mentioning
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 1high priority issuehigh priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release