fix path.resolve error
bump min Node version