Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timothygu/connect-mongo-issue

connect-mongo issue #172
https://github.com/timothygu/connect-mongo-issue

Last synced: 11 days ago
JSON representation

connect-mongo issue #172

Awesome Lists containing this project

README

        

This demonstrates kcbanner/connect-mongo#172.

How to reproduce
================

```sh
rm -rf node_modules
./install.sh
npm ls | grep mongodb@ # shows that there are two mongodb installations
node index.js # BOOM
```

How to not reproduce
====================

Manual deduping
---------------

```sh
rm -rf node_modules
./install.sh
npm dedupe
npm ls | grep mongodb@ # shows that there is one mongodb installation
node index.js # Yay!
```

Automatic deduping
------------------

```sh
rm -rf node_modules
npm install
npm ls | grep mongodb@ # shows that there is one mongodb installation
node index.js # Yay!
```