你是不是写错了,将斜杠写成了问号?
报错内容发过来看看
import fileWorker from "../worker..."
from 的这个 路径有问题吧??worker 应该不行吧
你ts 编译worker用的是什么库