Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
7.9 kB
5
Indexable
Never
yarn run v1.22.19
$ yarn run build:ssr
$ ng build --configuration production && ng run dspace-angular:server:production
✔ Browser application bundle generation complete.

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'juice/client'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/adaptors/liteAdaptor.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/a11y/assistive-mml.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/handlers/html.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/input/tex.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/input/tex/AllPackages.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/mathjax.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/output/svg.js'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/sanitize-html/index.js depends on 'htmlparser2'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/node_modules/sanitize-html/index.js depends on 'postcss'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/src/app/shared/date.util.ts depends on 'date-fns-tz'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/src/app/shared/utils/markdown.pipe.ts depends on 'markdown-it-mathjax3'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: /opt/GIT-repo-dspace-frontend-7.5/src/app/shared/utils/markdown.pipe.ts depends on 'sanitize-html'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./src/themes/dspace/app/header/header.component.ts:3:0-100 - Error: Module not found: Error: Can't resolve '../src/themes/dspace/app/header/header.component' in '/opt/GIT-repo-dspace-frontend-7.5/src/themes/dspace/app/header'

./src/themes/dspace/app/navbar/navbar.component.ts:3:0-100 - Error: Module not found: Error: Can't resolve '../src/themes/dspace/app/navbar/navbar.component' in '/opt/GIT-repo-dspace-frontend-7.5/src/themes/dspace/app/navbar'

Error: src/app/app.module.ts:133:14 - error NG6002: Appears in the NgModule.imports of BrowserAppModule, but itself has errors

133 export class AppModule {
                 ~~~~~~~~~


Error: src/app/app.module.ts:133:14 - error NG6002: Appears in the NgModule.imports of LazyThemeModule, but itself has errors

133 export class AppModule {
                 ~~~~~~~~~


Error: src/app/app.module.ts:133:14 - error NG6002: Appears in the NgModule.imports of LazyThemeModule, but itself has errors

133 export class AppModule {
                 ~~~~~~~~~


Error: src/themes/dspace/app/header/header.component.ts:2:50 - error TS2307: Cannot find module '../src/themes/dspace/app/header/header.component' or its corresponding type declarations.

2 import { HeaderComponent as BaseComponent } from '../src/themes/dspace/app/header/header.component';
                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/themes/dspace/app/header/header.component.ts:12:16 - error NG2008: Could not find template file '../src/themes/dspace/app/header/header.component.html'.

12   templateUrl: '../src/themes/dspace/app/header/header.component.html',
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/themes/dspace/app/navbar/navbar.component.ts:2:50 - error TS2307: Cannot find module '../src/themes/dspace/app/navbar/navbar.component' or its corresponding type declarations.

2 import { NavbarComponent as BaseComponent } from '../src/themes/dspace/app/navbar/navbar.component';
                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/themes/dspace/app/navbar/navbar.component.ts:11:16 - error NG2008: Could not find template file '../src/themes/dspace/app/navbar/navbar.component.html'.

11   templateUrl: '../src/themes/dspace/app/navbar/navbar.component.html',
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: src/themes/dspace/eager-theme.module.ts:36:17 - error NG6001: The class 'HeaderComponent' is listed in the declarations of the NgModule 'EagerThemeModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

36   declarations: DECLARATIONS,
                   ~~~~~~~~~~~~

  src/themes/dspace/app/header/header.component.ts:14:14
    14 export class HeaderComponent extends BaseComponent {
                    ~~~~~~~~~~~~~~~
    'HeaderComponent' is declared here.


Error: src/themes/dspace/eager-theme.module.ts:36:17 - error NG6001: The class 'NavbarComponent' is listed in the declarations of the NgModule 'EagerThemeModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

36   declarations: DECLARATIONS,
                   ~~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:14:14
    14 export class NavbarComponent extends BaseComponent {
                    ~~~~~~~~~~~~~~~
    'NavbarComponent' is declared here.


Error: src/themes/dspace/eager-theme.module.ts:50:14 - error NG6002: Appears in the NgModule.imports of EagerThemesModule, but itself has errors

50 export class EagerThemeModule {
                ~~~~~~~~~~~~~~~~


Error: src/themes/eager-themes.module.ts:18:14 - error NG6002: Appears in the NgModule.imports of AppModule, but itself has errors

18 export class EagerThemesModule {
                ~~~~~~~~~~~~~~~~~



error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Leave a Comment