错误日志:
TypeScript error in /home/jl/deeplearning/bootcamp/solutions/text_search_engine/quick_deploy/client/node_modules/@popperjs/core/lib/createPopper.d.ts(1,13):
'=' expected. TS1005
1 | import type { OptionsGeneric, Modifier, Instance, VirtualElement } from "./types";
| ^
2 | import detectOverflow from "./utils/detectOverflow";
3 | declare type PopperGeneratorArgs = {
4 | defaultModifiers?: Array<Modifier<any, any>>;
解决方案:
package.json 中的把typescript 版本提高为"typescript": "~3.8.0"