[add] So my next problem is that when i try adding a new dependence (npm install --save socket.io). The JSON file is also valid. I get this error: Failed to parse json
I used the code below and tried to show the sitemap.xml file
router.get('/sitemap.xml', function (req, res) { res.sendFile('sitemap.xml', { root: '.' }); });