DTStack / DTStack/Taier

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

Open
#1,181 1 comment 0 reactions 1 assignee Claimed by @jin-sir View on GitHub
question
Dominant language
Java
Stars
1.3k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [ ] I had searched in the [issues](https://github.com/DTStack/Taier/issues) and found no similar question.

- [ ] I had searched my question on the internet but i didn't get any help.

- [ ] I had read the documentation: [Taier doc](https://dtstack.github.io/Taier) but it didn't help me.

### 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'


* Webpack █████████████████████████ done (99%) plugins
DevFirstCompileDone

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

* Webpack █████████████████████████ done (99%) plugins
esbuild

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

* Webpack █████████████████████████ done (99%) plugins
MultiCompiler

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

* Webpack █████████████████████████ done (99%) plugins
umi-dev-server

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

* Webpack █████████████████████████ done (99%)
plugins

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

* Webpack █████████████████████████ (99%)

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

* Webpack █████████████████████████ cache (99%)
store build dependencies

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

* Webpack █████████████████████████ cache (99%) store build dependencies
IdleFileCachePlugin

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

* Webpack █████████████████████████ cache (99%)
store build dependencies

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

* Webpack █████████████████████████ cache (99%)
begin idle

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

* Webpack █████████████████████████ cache (99%) begin idle
IdleFileCachePlugin

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

* Webpack █████████████████████████ cache (99%)
begin idle

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

* Webpack █████████████████████████ cache (99%)
store build dependencies

App running at:
- Network: http://192.168.10.7:8000

启动时间有点慢,试试新出的 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

* Webpack █████████████████████████ done (99%) plugins
FriendlyErrorsWebpackPlugin

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

* Webpack █████████████████████████ done (99%) plugins
CaseSensitivePathsPlugin

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

* Webpack █████████████████████████ done (99%) plugins
DevFirstCompileDone

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/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 █████████████████████████ done (99%) plugins
esbuild

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/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 █████████████████████████ done (99%) plugins
MultiCompiler

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/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 █████████████████████████ done (99%) plugins
umi-dev-server

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/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 █████████████████████████ done (99%)
plugins

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/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 █████████████████████████ (99%)

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/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 █████████████████████████ cache (99%)
store build dependencies

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/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 █████████████████████████ cache (99%) store build dependencies
IdleFileCachePlugin

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/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 █████████████████████████ cache (99%)
store build dependencies

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/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 █████████████████████████ cache (99%)
begin idle

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/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 █████████████████████████ cache (99%) begin idle
IdleFileCachePlugin

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/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 █████████████████████████ cache (99%)
begin idle

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/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

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.