Node package ndb not working properly

I’ve installed nodejs via dnf install nodejs and then installed globally ndb for debugging. To run this I used ndb server.js command, but after chromium was downloaded, It worked not as I waited for. I saw stackoverflow topics about this, I changed owner of global node_modules to my user but it still not working. Then I’ve deleted nodejs and installed nvm to decrease node and npm versions. But it isn’t working anyway. What I mean under not working is shown at the picture. I tested it with 11 node version on Windows and It’s working. What should I do to run this package on Linux?