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

Frontend Build failed #178

Closed
daemono opened this issue Nov 10, 2023 · 5 comments
Closed

Frontend Build failed #178

daemono opened this issue Nov 10, 2023 · 5 comments

Comments

@daemono
Copy link

daemono commented Nov 10, 2023

Every time when i execute mvn spring-boot:run

i becom the error in console:

2023-11-09 14:12:49.973 INFO 28972 --- [onPool-worker-9] dev-webpack : Running webpack to compile frontend resources. This may take a moment, please stand by...
2023-11-09 14:13:00.823 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196mERROR in ../node_modules/@vaadin/flow-frontend/vaadin-full-calendar/full-calendar.ts�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196mModule build failed (from ../node_modules/ts-loader/index.js):�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196mError: TypeScript emitted no output for C:\git\kundm\KundMV2\KundMWebV2\node_modules@vaadin\flow-frontend\vaadin-full-calendar\full-calendar.ts. By default, ts-loader will not compile .ts files in node_modules.�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196mYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196mSee: https://github.com/microsoft/TypeScript/issues/12358�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196m at makeSourceMapAndFinish (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:53:18)�[0m
2023-11-09 14:13:00.824 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196m at successLoader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:40:5)�[0m
2023-11-09 14:13:00.825 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196m at Object.loader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:23:5)�[0m
2023-11-09 14:13:00.825 ERROR 28972 --- [ webpack] dev-webpack : �[38;5;196m @ ../target/frontend/generated-flow-imports.js 62:0-69�[0m
2023-11-09 14:13:00.825 INFO 28972 --- [onPool-worker-9] dev-webpack : Started webpack-dev-server. Time: 10855ms

have already set @EnableVadin to this package but still not possible to compile the frontend. Any suggestions?

@aetasoul
Copy link
Collaborator

@daemono
Copy link
Author

daemono commented Nov 10, 2023

@aetasoul still the same issue, here the log:
------------------ Starting Frontend compilation. ------------------
�[0m2023-11-10 13:46:41.755 INFO 32196 --- [onPool-worker-9] dev-webpack : Running webpack to compile frontend resources. This may take a moment, please stand by...
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mERROR in ../node_modules/@vaadin/flow-frontend/License.ts�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mModule build failed (from ../node_modules/ts-loader/index.js):�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mError: TypeScript emitted no output for C:\git\kundm\KundMV2\KundMWebV2\node_modules@vaadin\flow-frontend\License.ts. By default, ts-loader will not compile .ts files in node_modules.�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mSee: https://github.com/microsoft/TypeScript/issues/12358�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at makeSourceMapAndFinish (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:53:18)�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at successLoader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:40:5)�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at Object.loader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:23:5)�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m @ ../node_modules/@vaadin/flow-frontend/VaadinDevmodeGizmo.js 12:0-95 724:8-19 781:12-30 1124:12-26 1127:12-30 1130:12-29�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mERROR in ../node_modules/@vaadin/flow-frontend/vaadin-full-calendar/full-calendar-scheduler.ts�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mModule build failed (from ../node_modules/ts-loader/index.js):�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mError: TypeScript emitted no output for C:\git\kundm\KundMV2\KundMWebV2\node_modules@vaadin\flow-frontend\vaadin-full-calendar\full-calendar-scheduler.ts. By default, ts-loader will not compile .ts files in node_modules.�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mSee: https://github.com/microsoft/TypeScript/issues/12358�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at makeSourceMapAndFinish (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:53:18)�[0m
2023-11-10 13:46:51.843 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at successLoader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:40:5)�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at Object.loader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:23:5)�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m @ ../target/frontend/generated-flow-imports.js 61:0-79�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mERROR in ../node_modules/@vaadin/flow-frontend/vaadin-full-calendar/full-calendar.ts�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mModule build failed (from ../node_modules/ts-loader/index.js):�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mError: TypeScript emitted no output for C:\git\kundm\KundMV2\KundMWebV2\node_modules@vaadin\flow-frontend\vaadin-full-calendar\full-calendar.ts. By default, ts-loader will not compile .ts files in node_modules.�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196mSee: https://github.com/microsoft/TypeScript/issues/12358�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at makeSourceMapAndFinish (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:53:18)�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at successLoader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:40:5)�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m at Object.loader (C:\git\kundm\KundMV2\KundMWebV2\node_modules\ts-loader\dist\index.js:23:5)�[0m
2023-11-10 13:46:51.844 ERROR 32196 --- [ webpack] dev-webpack : �[38;5;196m @ ../target/frontend/generated-flow-imports.js 62:0-69�[0m
2023-11-10 13:46:51.844 INFO 32196 --- [onPool-worker-9] dev-webpack : Started webpack-dev-server. Time: 10094ms

@aetasoul
Copy link
Collaborator

Vaadin version?

@daemono
Copy link
Author

daemono commented Nov 12, 2023

I have it resolved in meantime. Many thanks

@daemono daemono closed this as completed Nov 12, 2023
@aetasoul
Copy link
Collaborator

Can you give some more information to the other people? Maybe it could help someone else in future

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

No branches or pull requests

2 participants