Tencent-RTC / Tencent-RTC/TUIKit_uni-app

"Syntax error in uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts: Expected ',', got '}'"

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
8
Avg merge
2d 7m
Merged PRs (30d)
2

Description

When building in HBuilder I encountered a syntax error pointing to uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts. The build log shows:

[HBuilder] 15:59:21.180 x Expected ',', got '}'
[HBuilder] 15:59:21.181 at uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts:95:1
[HBuilder] 15:59:21.189 92 | }
[HBuilder] 15:59:21.197 93 | }
[HBuilder] 15:59:21.205 : ^
[HBuilder] 15:59:21.206 `----
[HBuilder] 15:59:21.214 Caused by:
[HBuilder] 15:59:21.221 Syntax Error

Steps to reproduce:

  1. Use HBuilder to build the uni-app project that includes the tuikit-atomic-x module.
  2. The build fails with the above syntax error referencing uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts line 95.

Additional info:

  • HBuilder build time: 15:59:21 (log timestamps included above)
  • File: uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts

Reported by: lmy825

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with uni_modules/tuikit-atomic-x/utssdk/app-ios/index.uts around line 95 and reproduce the failure by building the uni-app project in HBuilder. Inspect the surrounding syntax and confirm the build completes without the reported “Expected ',', got '}'” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.