我想在创建react应用程序中使用gatsby-image,当我在react中安装gatsby并执行后出现此错误
Failed to compile.
./node_modules/gatsby/cache-dir/gatsby-browser-entry.js
SyntaxError:
/node_modules/gatsby/cache-dir/gatsby-browser-entry.js: Unexpected
token (25:4)
return (
<React.Fragment>
^
{finalData && render(finalData)}
{!finalData && <div>Loading (StaticQuery)</div>}
</React.Fragment>