如何解决此错误;意外的令牌' react'当使用反应摩尔利斯时
我能够在没有任何问题的情况下安装React-Moralis的软件包。尝试从软件包导入时,我会收到“意外的令牌未能编译”语法错误。简单的代码是此
import { Moralis} from react-moralis
I was able to install the package for react-moralis without any issues. When trying to import from the package I receive an "unexpected token failed to compile" syntax error. The simple code is this
import { Moralis} from react-moralis
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用这样的报价说:
Put it in quotes like this: