fix pathResolve method '../src/module' error