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!
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!