Skip to content

404 Error Code | Please help! #127

@SachinDevatar7

Description

@SachinDevatar7

I am getting this error(In browser):
{"errors":{"message":"Not Found","error":{"status":404}}}

And also:

[email protected] dev /Users/sachindevatar/node-express/node-express-realworld-example-app
nodemon ./app.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 ./app.js
Listening on port 3000
Mongoose: users.ensureIndex({ username: 1 }) { unique: true, background: true }
Mongoose: articles.ensureIndex({ slug: 1 }) { unique: true, background: true }
Mongoose: users.ensureIndex({ email: 1 }) { unique: true, background: true }
Error: Not Found
at /Users/sachindevatar/node-express/node-express-realworld-example-app/app.js:49:13
at Layer.handle [as handle_request] (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:312:13)
at /Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:330:12)
at next (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:271:10)
at /Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:618:15
at next (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:256:14)
at Function.handle (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:176:3)
at router (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:46:12)
at Layer.handle [as handle_request] (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:312:13)
at /Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:330:12)
at next (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/index.js:271:10)
at Layer.handle [as handle_request] (/Users/sachindevatar/node-express/node-express-realworld-example-app/node_modules/express/lib/router/layer.js:91:12)
GET / 404 6.927 ms - 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions