https://github.com/timothygu/connect-mongo-issue
connect-mongo issue #172
https://github.com/timothygu/connect-mongo-issue
Last synced: 30 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-06T06:58:39.000Z (about 10 years ago)
- Last Synced: 2025-03-30T18:33:06.589Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 1
- Watchers: 2
- 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!
```