DTStack / Taier

Taier is a big data development platform for submission, scheduling, operation and maintenance, and indicator information display
https://dtstack.github.io/Taier/
Apache License 2.0
1.32k stars 330 forks source link

前端启动时报错,注释到一些配置,就能正常启动 #1181

Open 2642458318 opened 2 months ago

2642458318 commented 2 months ago

Search before asking

Description

PS D:\idea\work\taier\taier-ui> yarn start yarn run v1.22.22 $ umi dev Bundle with webpack 5... Starting the development server... × Webpack Compiled with some errors in 37.07s ERROR Failed to compile with 5 errors 15:20:38 error in ./node_modules/antlr4-c3/lib/index.mjs Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } error in ./node_modules/antlr4ng/dist/index.mjs Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class { static { | __name(this, "Transition"); | } error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9

× Webpack

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) | // src/BaseSymbol.ts | var BaseSymbol = class { @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38

static { | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 1:0-62 25:19-32 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js 1:0-58 Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql' @ ./node_modules/monaco-sql-languages/out/esm/flinksql/flinksql.worker.js 2:0-50 5:19-33

ERROR in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js 1:0-54 Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql' @ ./node_modules/monaco-sql-languages/out/esm/mysql/mysql.worker.js 2:0-44 5:19-30

ERROR in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js 1:0-54 Compiled successfully in 1.62m

启动时间有点慢,试试新出的 MFSU 方案,1s+ 完成启动,详见 https://github.com/umijs/umi/issues/6766 [HPM] Error occurred while trying to proxy request /taier/api/task/getSupportJobTypes from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/dataSource/manager/support from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/dataSource/manager/total from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/task/getSysParams from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/batchCatalogue/getCatalogue from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/user/queryUser from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [HPM] Error occurred while trying to proxy request /taier/api/dataSource/manager/type/list from localhost:8000 to http://localhost:8090 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) [change] .umirc.ts

INFO Config chainWebpack changed. Try to restart dev server... Bundle with webpack 5... Starting the development server...

× Webpack Compiled with some errors in 1.21m

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/antlr4ng/dist/index.mjs 6:9 Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static {

× Webpack

ERROR Failed to compile with 5 errors 15:46:51

error in ./node_modules/antlr4-c3/lib/index.mjs

Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | }

error in ./node_modules/antlr4ng/dist/index.mjs

Module parse failed: Unexpected token (6:9) 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 | // src/atn/Transition.ts | var Transition = class {

static { | __name(this, "Transition"); | }

error in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql'

error in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql'

error in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js

Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql'

ERROR in ./node_modules/antlr4-c3/lib/index.mjs 52:9 Module parse failed: Unexpected token (52:9) 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 | // src/BaseSymbol.ts | var BaseSymbol = class {

static { | __name(this, "BaseSymbol"); | } @ ./node_modules/dt-sql-parser/dist/parser/common/basicSQL.js 2:0-47 240:25-43 | } @ ./node_modules/dt-sql-parser/dist/parser/spark/index.js 3:0-46 8:30-38 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparkSQLWorker.js 1:0-55 7:26-34 @ ./node_modules/monaco-sql-languages/out/esm/sparksql/sparksql.worker.js 2:0-50 5:35-49

ERROR in ./node_modules/monaco-sql-languages/out/esm/flinksql/flinkSQLWorker.js 1:0-58 Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/flinksql' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\flinksql' @ ./node_modules/monaco-sql-languages/out/esm/flinksql/flinksql.worker.js 2:0-50 5:19-33

ERROR in ./node_modules/monaco-sql-languages/out/esm/mysql/mySQLWorker.js 1:0-54 Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\mysql' @ ./node_modules/monaco-sql-languages/out/esm/mysql/mysql.worker.js 2:0-44 5:19-30

ERROR in ./node_modules/monaco-sql-languages/out/esm/sql/sqlWorker.js 1:0-54 Module not found: Error: Can't resolve 'dt-sql-parser/dist/parser/generic' in 'D:\idea\work\taier\taier-ui\node_modules\monaco-sql-languages\out\esm\sql' @ ./node_modules/monaco-sql-languages/out/esm/sql/sql.worker.js 2:0-40 5:19-28

webpack compiled with 5 errors info 如果你需要进交流群,请访问 https://fb.umijs.org

Code of Conduct

2642458318 commented 2 months ago

7e9ed5680031cd7a0e22e956f5eefee