Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/timothygu/connect-mongo-issue
- Owner: TimothyGu
- Created: 2015-05-05T23:43:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T06:58:39.000Z (over 9 years ago)
- Last Synced: 2024-12-20T16:01:00.395Z (22 days ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!
```