nodecors
https://stackoverflow.com/questions/57009371/access-to-xmlhttprequest-at-from-origin-localhost3000-has-been-blocked if you are building your rest api in nodejs. Follow the folowing simple steps Stop the Node.js server. npm install cors --save Add following lines to your server.js or index.js var cors = require ( 'cors' ) app. use ( cors ()) // Use this after the variable declaration Now try to make your api call on the client side and it should work related to package.json error: Cannot find schema for package.json · Issue #138459 · microsoft/vscode · GitHub "scripts" : { "start" : "nodemon app.js" , },