+
95
-

npm run build出现babel-parser.d.ts(14,23): error TS2307: Cannot find module '@babel/types' or its corr

npm run build出现babel-parser.d.ts(14,23): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.


网友回复

+
15
-

解决办法是tsconfig 中设置

"skipLibCheck": true,

我知道答案,我要回答