zellwk / crud-express-mongo Goto Github PK
View Code? Open in Web Editor NEWRepo for Zell's CRUD, Express and Mongo tutorial
License: MIT License
Repo for Zell's CRUD, Express and Mongo tutorial
License: MIT License
C:\Users\user\Desktop\apagar\crud-express-mongo>nodemon server.js
[nodemon] 1.19.4
[nodemon] to restart at any time, enter rs
[nodemon] watching dir(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node server.js
{ MongoError: Authentication failed.
at Function.MongoError.create (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\error.js:31:11)
at C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:497:72
at authenticateStragglers (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:443:16)
at Connection.messageHandler (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:477:5)
at Socket. (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\connection.js:333:22)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (stream_readable.js:269:11)
at Socket.Readable.push (stream_readable.js:224:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)
name: 'MongoError',
message: 'Authentication failed.',
ok: 0,
errmsg: 'Authentication failed.',
code: 18,
codeName: 'AuthenticationFailed',
operationTime:
Timestamp { bsontype: 'Timestamp', low: 1, high: 1598323267 },
'$clusterTime':
{ clusterTime:
Timestamp { bsontype: 'Timestamp', low: 1, high: 1598323267 },
signature: { hash: [Binary], keyId: [Long] } } }
[nodemon] clean exit - waiting for changes before restart
Is there intentionally no license on this material?
Line 11 in 8dd6877
With Part I, I encountered the error, failed to lookup view in view directory. I first suspected it's the structure problem, so I recreated everything that is no more first level "Node.Project", simply moving the server.js down into MEAN1 folder. Still, having the same problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.