Skip to content
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

bug| 新发的版本有bug哦 #5289

Open
zhumu3 opened this issue Jan 14, 2025 · 0 comments
Open

bug| 新发的版本有bug哦 #5289

zhumu3 opened this issue Jan 14, 2025 · 0 comments

Comments

@zhumu3
Copy link

zhumu3 commented Jan 14, 2025

背景:
我们这个项目是uni-app改造成node打包的项目
我们团队所在的流水线,最近执行打包命令的时候,报了这个错:
image

这个流水线之前运行都正常,没人动过流水线配置

详细的报错如下:

[email protected] build:uat ***/
[2025/01/14 15:49:07.194 GMT+08:00] > cross-env NODE_ENV=production VUE_APP_TARGET=uat UNI_PLATFORM=h5 UNI_OUTPUT_DIR=dist vue-cli-service uni-build
[2025/01/14 15:49:07.194 GMT+08:00]
[2025/01/14 15:49:07.837 GMT+08:00] ***//node_modules/@dcloudio/vue-cli-plugin-uni/lib/env.js:183
[2025/01/14 15:49:07.837 GMT+08:00] if (manifestJsonObj['app-plus']?.['utsCompilerVersion'] === 'v1') {
[2025/01/14 15:49:07.837 GMT+08:00] ^
[2025/01/14 15:49:07.837 GMT+08:00]
[2025/01/14 15:49:07.837 GMT+08:00] SyntaxError: Unexpected token .
[2025/01/14 15:49:07.838 GMT+08:00] npm ERR! code ELIFECYCLE
[2025/01/14 15:49:07.838 GMT+08:00] npm ERR! errno 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant