fix path error

should use `appDir : path.join(__dirname, '.')`