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

Docker container fails to build webpack #211

Open
sand7000 opened this issue Jun 12, 2023 · 0 comments
Open

Docker container fails to build webpack #211

sand7000 opened this issue Jun 12, 2023 · 0 comments

Comments

@sand7000
Copy link

I see:

ERROR in /opt/mbee/ve/tsconfig.json
/opt/mbee/ve/tsconfig.json
[tsl] ERROR
      TS2688: Cannot find type definition file for 'angular-flatpickr'.
  The file is in the program because:
    Entry point for implicit type library 'angular-flatpickr'

ERROR in /opt/mbee/ve/tsconfig.json
/opt/mbee/ve/tsconfig.json
[tsl] ERROR
      TS2688: Cannot find type definition file for 'angular-promise-extras'.
  The file is in the program because:
    Entry point for implicit type library 'angular-promise-extras'

ERROR in /opt/mbee/ve/tsconfig.json
/opt/mbee/ve/tsconfig.json
[tsl] ERROR
      TS2688: Cannot find type definition file for 'angular-ui-tree-filter'.
  The file is in the program because:
    Entry point for implicit type library 'angular-ui-tree-filter'

ERROR in /opt/mbee/ve/tsconfig.json
/opt/mbee/ve/tsconfig.json
[tsl] ERROR
      TS2688: Cannot find type definition file for 'ckeditor'.
  The file is in the program because:
    Entry point for implicit type library 'ckeditor'

ERROR in /opt/mbee/ve/tsconfig.json
/opt/mbee/ve/tsconfig.json
[tsl] ERROR
      TS2688: Cannot find type definition file for 'ckeditor-plugins'.
  The file is in the program because:
    Entry point for implicit type library 'ckeditor-plugins'

5 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.74.0 compiled with 5 errors in 24868 ms

webpack seems to try to make some more progress after this but then hangs forever after hitting some warnings:

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  veApp (6.97 MiB)
      js/veApp.bundle.js

WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

webpack 5.74.0 compiled with 3 warnings in 14877 ms
<s> [webpack.Progress] 99% cache store build dependencies
<s> [webpack.Progress] 99% cache store build dependencies
<s> [webpack.Progress] 99% cache begin idle
<s> [webpack.Progress] 99% cache begin idle
<s> [webpack.Progress] 100% 

I'm not very familiar with webpack. I found this:

https://stackoverflow.com/questions/53885107/typescript-cant-find-module-flatpickr-even-though-it-includes-typescript-types

but their suggestion of setting "moduleResolution": "node" already seems to be set in tsconfig.json.

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

1 participant