I need to introduce @ arcgis/node into the node but after introducing error __dirname not defined I have modified the source code, but to quote the following error:
error __dirname