Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
同僚が作成したアプリでテストを実行しようとしていますが、このエラーが発生し続けます。呼び出しは、13 行目の mongodb モジュールにあります。
ReadPreference = require('./connection/read_preference').ReadPreference,
なぜこれが起こるのか考えていますか?私はmongo dbを正しく実行しています。
それはモンゴスキンの問題でした。
npm remove mongoskin npm install mogoskin
解決した