Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 4 tasks
2642458318 opened this issue Jun 19, 2024 · 1 comment
Open
1 of 4 tasks
Assignees
Labels
question Further information is requested

Comments

@2642458318
Copy link

Search before asking

  • I had searched in the 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 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:

启动时间有点慢,试试新出的 MFSU 方案,1s+ 完成启动,详见 umijs/umi#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

@2642458318 2642458318 added the question Further information is requested label Jun 19, 2024
@2642458318
Copy link
Author

7e9ed5680031cd7a0e22e956f5eefee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants