Closed 5r1n1 closed 4 years ago
localStorage is used in praas.js and server.js, but not pre-defined. So, eventhough the server comes up and persorms well, the ESLint extension in MSCode highlights it in red and complains of problems.
Issue was resolved by adding const localStorage = require('localstorage-polyfill'); to praas.js and server.js
const localStorage = require('localstorage-polyfill');
localStorage is used in praas.js and server.js, but not pre-defined. So, eventhough the server comes up and persorms well, the ESLint extension in MSCode highlights it in red and complains of problems.