I ran into the same issue due to me using eslint In order to over come this issue I had to add at the top of my file: /* eslint-disable no-undef */.
確定! 回上一頁