Class extends value # is not a constructor or null

I see at least one issue with your requires.

  • monster.js first line is const miniMonster = require("./minimonster.js");
  • minimonster.js first line is const monster = require("./monster.js");

This is a problem, you can not have both files evaluate at the same time.
I would not require minimonster from monster.js

This may fix your issue.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)