Skip to content

Gives 404 Not Found #3

@parmeet9891

Description

@parmeet9891

Currently gives 404 Not Fount when running on localhost.

It also gives error on model/company.js -> when we are declaring schema.
Error occurs on 'new' operator. (It says Schema is not a constructor).
When i changes it to mongoose.Schema or new mongoose.Schema, error gone but still not running on localhost.
Please see to it.
Thank You!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions