-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run build 报错 #108
Comments
没复现出问题,你是升级了依赖包吗? 问题在jest issues里面可以找到及解决方案,可以参考一下:jestjs/jest#9703 |
我什么都没有改,你可以试着从仓库重新clone一个下来试试,看看能不能复现 |
1.jest使用的是24.9.0版本,但是查看node_modules/jest-diff/package.json文件,发现使用的是26.0.1版本 2.在package.json中写的是 解决办法: |
TypeScript error in D:/xiaobo/work/Github/react-admin/node_modules/jest-diff/build/diffLines.d.ts(8,13):
'=' expected. TS1005
The text was updated successfully, but these errors were encountered: