Resolved a problem with the npm module and working dir