美文网首页
【JS】load script xxx failed : Err

【JS】load script xxx failed : Err

作者: 真诚的狗子 | 来源:发表于2020-02-06 17:40 被阅读0次

今天碰到了如题错误,我的写法是这样的:

import { HubConnectionBuilder, HubConnection, HttpTransportType, HubConnectionState }from '../libs/signalr/SingalR';

之后运行就提示如题错误了,但经过反复确认,该路径确实没有问题。

之后在网上搜索,看到了帖子https://segmentfault.com/q/1010000013767205

于是我将SignalR这个文件重命名为小写,就不报错了。

原因不明,真的好坑。

相关文章

网友评论

      本文标题:【JS】load script xxx failed : Err

      本文链接:https://www.haomeiwen.com/subject/vtyuxhtx.html