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
npm install mongoose-compound-example-app
cd node_modules/mongoose-compound-example-app/
node .
And the console output of the error is:
user@user-K50IJ:~/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app$ node .
/home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/app/models/cat.js:3
Cat.prototype.sayMeow = function () {
^
TypeError: Cannot read property 'prototype' of undefined
at module.exports (/home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/app/models/cat.js:3:8)
at /home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/node_modules/compound/lib/models.js:36:13
at Array.forEach (native)
at loadModels (/home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/node_modules/compound/lib/models.js:23:38)
at Object.exports.init (/home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/node_modules/compound/lib/models.js:14:5)
at exports.init (/home/user/wwwroot/test/compoundapp11/node_modules/mongoose-compound-example-app/node_modules/compound/lib/compound.js:131:29)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Thank you.
The text was updated successfully, but these errors were encountered:
I'm running:
And the console output of the error is:
Thank you.
The text was updated successfully, but these errors were encountered: