HarmonyOS鸿蒙Next中为什么预览器打不开?
HarmonyOS鸿蒙Next中为什么预览器打不开? [Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/entryability/EntryAbility.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/Auth.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/CloudDb/CloudDb.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/CloudDb/DbInsert.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/CloudFunction.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/CloudStorage.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/Index.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/MyIndex.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/MyInfor.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/MyLogin.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/MyLoginCustom.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/MyWelcome.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/StudentInsertDialog.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] ArkTS:ERROR: File ‘D:/Harmony/Function/Application/entry/src/main/ets/pages/StudentPage.ets’ has an unsupported extension. The only supported extensions are ‘.ts’, ‘.tsx’, ‘.d.ts’, ‘.cts’, ‘.d.cts’, ‘.mts’, ‘.d.mts’.
[Compile Result] The file is in the program because:
[Compile Result] Root file specified for compilation
[Compile Result] _typescript.default.isStructDeclaration is not a function
[Compile Result] Compile error occurred. Fix it based on the above message.
更多关于HarmonyOS鸿蒙Next中为什么预览器打不开?的实战教程也可以访问 https://www.itying.com/category-93-b0.html


