Closed zz245 closed 4 years ago
Very good book, Thank you!
using ubuntu16 I get this error:
ERROR in ./server/controllers/order.controller.js Module not found: Error: Can't resolve '../models/Order.model' in '/home/alex/Downloads/marketplace/server/controllers' @ ./server/controllers/order.controller.js 7:13-45 @ ./server/routes/order.routes.js @ ./server/express.js @ ./server/server.js @ multi ./server/server.js
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I failed to compile with the following error: ERROR in ./server/controllers/order.controller.js Module not found: Error: Can't resolve '../models/Order.model' in '/home/admin/marketplace/mern-marketplace/server/controllers'
After I changed "Order.model" to "order.model" in order.controller.js, the compiler succeeded.