作者:君奇均政29 | 来源:互联网 | 2022-10-19 17:24
在npm run build
Vue项目上运行时,出现以下错误:
Unhandled rejection Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
还有其他人遇到过这个问题吗?
1> 小智..:
为您的项目安装并再次运行构建
npm i terser@4.0.0
npm run build
15小时前发布的最新terser 4.0.1似乎已损坏某些内容。https://github.com/terser-js/terser/commits/master