Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Update of local dependencies does not work #7426

@akloeber

Description

@akloeber

I have some local dependencies on sub-modules in the same git repo like this:

"dependencies": {
  "sub-mod-0": "./sub-mod-0",
  "sub-mod-1": "./sub-mod-1"
}

With this I can do require('sub-mod-0') without having to use something like require('../../sub-mod-0')

Installation via npm install works fine and populates node_modules/sub-mod-0 and node_modules/sub-mod-1 but updating them is not possible without manually deleting node_modules/sub-mod-* beforehand. Neither npm install nor npm update nor npm update sub-module-* have an effect even if the version of the sub-module is incremented.

Environment:
npm v2.6.0
node v0.10.25
Ubuntu 14.04.1 LTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions