admin管理员组文章数量:1406913
ERROR in ./node_modules/react-loqate/dist/index.mjs 57:78
Module parse failed: Unexpected token (57:78)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See
| const search = `${suggestion.Text} ${suggestion.Description}`;
| const result = search.match(regex);
> const [before, match, after] = (result == null ? void 0 : result.slice(1)) ?? ["", "", ""];
| return /* @__PURE__ */ React3.createElement(
| "li",
ℹ 「wdm」: Failed to compile.
Here is my package.json dependencies:
"dependencies": {
"@magento/pwa-buildpack": "~11.5.3",
"@magento/venia-data-collector": "^1.0.7",
"@magento/venia-product-recommendations": "^1.0.1",
"jwt-encode": "^1.0.1",
"react-circular-progressbar": "^2.1.0",
"react-datepicker": "^4.25.0",
"react-infinite-scroll-component": "^6.1.0",
**"react-loqate": "^3.0.1",**
"react-markdown": "8.0.7",
"react-otp-input": "^3.1.1",
"react-select": "^5.10.0",
"react-window": "^1.8.11"
}
本文标签: reactjsreactloqate getting error while yarn watchStack Overflow
版权声明:本文标题:reactjs - react-loqate: getting error while yarn watch - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744995175a2636627.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论