JavaScript class not working on external file

(https://i.sstatic.net/wPIwfXY8.png)(https://i.sstatic.net/YFTflaOx.png)(https://i.sstatic.net/68IP9mBM.png)

I’m facing an error- if i create the class APIfeature in my tourcontroller.js file,it works just fine but whenever i try to take that class to another file and export then require it,it doesnt give me any data whenever i try to send a request from postman..

Tried to send request,but not getting any results back.