list.js typeerror: cannot read property ‘set’ of undefined.

here’s the errors seen in list.js

list.js:318 Uncaught TypeError: Cannot read property 'set' of undefined
at Object.values (list.js:318)
at init (list.js:303)
at new <anonymous> (list.js:346)
at module.exports.add (list.js:776)
at main.js:96

Solution is that:

  • Move the js scripts in the end of the body tag.

Written by

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store