Kevin Powell - CommunityKP-C
Kevin Powell - Community14mo ago
50 replies
Faisu0p

Getting an error when resending the get request

When i send the request first time it works fine but when i send the request second time it says " Error fetching project: TypeError: The "config.server" property is required and must be of type string."


my-project/
├── config/
│   └── db.js                
├── controllers/
│   ├── propertyController.js 
│   └── projectController.js 
├── models/
│   ├── propertyModel.js     
│   └── projectModel.js      
├── routes/
│   ├── propertyRoutes.js     
│   └── projectRoutes.js     
├── server.js                
├── .env                    
└── package.json             

ERROR ..

npm start

> bhumi_backend@1.0.0 start
> node server.js

Server running on port 5000
Connected to SQL Server
Error fetching project: TypeError: The "config.server" property is required and must be of type string.
Was this page helpful?