Skip to content

在Taro 3.4.2 版本编译报错 #48

@18657769868

Description

@18657769868

myApp@1.0.0 build:weapp
taro build --type weapp

👽 Taro v3.4.2

启动 开发者工具-项目目录 D:\Demo\myApp\dist
生成 工具配置 D:\Demo\myApp\dist/project.config.json

编译 发现入口 src/app.ts
编译 发现页面 src/pages/index/index.tsx
🙅 编译失败. 2022/9/10 10:55:15

./node_modules/@xdoer/x/lib/esm/asyncPromise.js 3:10
Module parse failed: Unexpected token (3:10)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| // @ts-nocheck
| export class AsyncPromise {

loading = false;
|
| constructor() {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions