You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connection fails: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoError: password must be a string
at passwordDigest (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:32:43)
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:163:29)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8) {
name: 'MongoError',
[Symbol(mongoErrorContextSymbol)]: {}
}]
It will be retried for the next request.
/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/topologies/server.js:233
throw err;
^
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoError: password must be a string
at passwordDigest (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:32:43)
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:163:29)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8) {
name: 'MongoError',
[Symbol(mongoErrorContextSymbol)]: {}
}]
at Pool. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/topologies/server.js:438:11)
at Pool.emit (events.js:321:20)
at Pool.EventEmitter.emit (domain.js:482:12)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:561:14
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:994:11
at callback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/connect.js:97:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/connect.js:396:21
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/auth_provider.js:66:11
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:165:16)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8)
Emitted 'error' event on DataSource instance at:
at DataSource.postInit (/home/lol/Documents/node_dev/flex-originals/node_modules/loopback-datasource-juggler/lib/datasource.js:489:16)
at onError (/home/lol/Documents/node_dev/flex-originals/node_modules/loopback-connector-mongodb/lib/mongodb.js:316:21)
at /home/lol/Documents/node_dev/flex-originals/node_modules/loopback-connector-mongodb/lib/mongodb.js:324:9
at executeCallback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/execute_operation.js:74:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:209:23
at connectCallback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:375:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:442:14
at Server. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/topologies/server.js:230:11)
at Object.onceWrapper (events.js:428:26)
at Server.emit (events.js:321:20)
at Server.EventEmitter.emit (domain.js:482:12)
at Pool. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/topologies/server.js:436:21)
at Pool.emit (events.js:321:20)
[... lines matching original stack trace ...]
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:994:11 {
name: 'MongoNetworkError',
[Symbol(mongoErrorContextSymbol)]: {}
}
bro after doing all the steps you mentioned .
i got this mongo error can you tell what does this mean
`✔ WEB Server started at: http://localhost:3000
✔ Browse your REST API at: http://localhost:3000/explorer
Connection fails: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoError: password must be a string
at passwordDigest (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:32:43)
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:163:29)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8) {
name: 'MongoError',
[Symbol(mongoErrorContextSymbol)]: {}
}]
It will be retried for the next request.
/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/topologies/server.js:233
throw err;
^
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoError: password must be a string
at passwordDigest (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:32:43)
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:163:29)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8) {
name: 'MongoError',
[Symbol(mongoErrorContextSymbol)]: {}
}]
at Pool. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/topologies/server.js:438:11)
at Pool.emit (events.js:321:20)
at Pool.EventEmitter.emit (domain.js:482:12)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:561:14
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:994:11
at callback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/connect.js:97:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/connect.js:396:21
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/auth_provider.js:66:11
at ScramSHA1._executeScram (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:165:16)
at AsyncWrap. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/auth/scram.js:276:19)
at AsyncWrap.wrap.ondone (internal/crypto/random.js:62:8)
Emitted 'error' event on DataSource instance at:
at DataSource.postInit (/home/lol/Documents/node_dev/flex-originals/node_modules/loopback-datasource-juggler/lib/datasource.js:489:16)
at onError (/home/lol/Documents/node_dev/flex-originals/node_modules/loopback-connector-mongodb/lib/mongodb.js:316:21)
at /home/lol/Documents/node_dev/flex-originals/node_modules/loopback-connector-mongodb/lib/mongodb.js:324:9
at executeCallback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/execute_operation.js:74:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:209:23
at connectCallback (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:375:5)
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/operations/connect.js:442:14
at Server. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/topologies/server.js:230:11)
at Object.onceWrapper (events.js:428:26)
at Server.emit (events.js:321:20)
at Server.EventEmitter.emit (domain.js:482:12)
at Pool. (/home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/topologies/server.js:436:21)
at Pool.emit (events.js:321:20)
[... lines matching original stack trace ...]
at /home/lol/Documents/node_dev/flex-originals/node_modules/mongodb/lib/core/connection/pool.js:994:11 {
name: 'MongoNetworkError',
[Symbol(mongoErrorContextSymbol)]: {}
}
DONE Compiled successfully in 28751ms 09:04:16
I Your application is running here http://localhost:undefined
`
The text was updated successfully, but these errors were encountered: