Closed JoelV closed 10 years ago
When I add more modules with napa, napa installs whatever I'm trying to add, but deletes whats in the directories the things I have previously installed with napa
For example package.json:
{ "scripts": { "install": "napa" }, "napa": { "foo": "username/repo" } }
then i run npm install and foo is installed under node_modules directory.
then i change package.json to
{ "scripts": { "install": "napa" }, "napa": { "foo": "username/foo", "bar": "username/bar" } }
then run npm install, napa will install bar in the node_modules directory, but /node_modules/foo will be empty.
Am I doing something wrong?
Never mind I started specifying version tags and branches ie
{ "scripts": { "install": "napa" }, "napa": { "foo": "username/foo#v0.0.0", "bar": "username/bar#0.0.0" } }
and now works great
When I add more modules with napa, napa installs whatever I'm trying to add, but deletes whats in the directories the things I have previously installed with napa
For example package.json:
then i run npm install and foo is installed under node_modules directory.
then i change package.json to
then run npm install, napa will install bar in the node_modules directory, but /node_modules/foo will be empty.
Am I doing something wrong?