我试图在我的项目中使用aysnc和await我首先在FiddleJS中尝试过这些,并且它工作正常,但是当我尝试在我的IDE(PHPSTORM 2017)中执行时,我出现错误: async function test(url){
^^^^^^^^
SyntaxError: Unexpected token function
at createScript (vm.js:56
我使用response节点库发出http请求,并试图递归调用它(如果用户在某一天做了提交,请检查前一天。 ,计算所有的日子来获得连胜)。 的问题是该行 const githubResponse = await request(options);
吐出来的是错误 Unexpected token o in JSON at position 1
await request(options)似乎