Untitled

 avatar
unknown
plain_text
2 years ago
12 kB
9
Indexable
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/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

Warning: /opt/GIT-repo-dspace-frontend-7.5/src/app/system-wide-alert/alert-banner/system-wide-alert-banner.component.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



./src/themes/dspace/app/header/header.component.ts:1: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:1: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/themes/dspace/app/header/header.component.html:15:63 - error TS2339: Property 'toggleNavbar' does not exist on type 'HeaderComponent'.

15         <button class="navbar-toggler" type="button" (click)="toggleNavbar()"
                                                                 ~~~~~~~~~~~~

  src/themes/dspace/app/header/header.component.ts:12:16
    12   templateUrl: 'header.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component HeaderComponent.


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/navbar/navbar.component.html:1:28 - error TS2339: Property 'menuCollapsed' does not exist on type 'NavbarComponent'.

1 <nav [ngClass]="{'open': !(menuCollapsed | async)}" [@slideMobileNav]="!(windowService.isXsOrSm() | async) ? 'default' : ((menuCollapsed | async) ? 'collapsed' : 'expanded')"
                             ~~~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:1:74 - error TS2339: Property 'windowService' does not exist on type 'NavbarComponent'.

1 <nav [ngClass]="{'open': !(menuCollapsed | async)}" [@slideMobileNav]="!(windowService.isXsOrSm() | async) ? 'default' : ((menuCollapsed | async) ? 'collapsed' : 'expanded')"
                                                                           ~~~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:1:124 - error TS2339: Property 'menuCollapsed' does not exist on type 'NavbarComponent'.

1 <nav [ngClass]="{'open': !(menuCollapsed | async)}" [@slideMobileNav]="!(windowService.isXsOrSm() | async) ? 'default' : ((menuCollapsed | async) ? 'collapsed' : 'expanded')"
                                                                                                                             ~~~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:3:72 - error TS2339: Property 'isXsOrSm$' does not exist on type 'NavbarComponent'.

3   <div class="navbar-inner-container w-100 h-100" [class.container]="!(isXsOrSm$ | async)">
                                                                         ~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:10:21 - error TS2339: Property 'isXsOrSm$' does not exist on type 'NavbarComponent'.

10         <li *ngIf="(isXsOrSm$ | async) && (isAuthenticated$ | async)">
                       ~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:10:44 - error TS2339: Property 'isAuthenticated$' does not exist on type 'NavbarComponent'.

10         <li *ngIf="(isXsOrSm$ | async) && (isAuthenticated$ | async)">
                                              ~~~~~~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:13:47 - error TS2339: Property 'sections' does not exist on type 'NavbarComponent'.

13         <ng-container *ngFor="let section of (sections | async)">
                                                 ~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:14:46 - error TS2339: Property 'sectionMap$' does not exist on type 'NavbarComponent'.

14           <ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
                                                ~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:14:67 - error TS2339: Property 'get' does not exist on type 'unknown'.

14           <ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
                                                                     ~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:14:106 - error TS2339: Property 'sectionMap$' does not exist on type 'NavbarComponent'.

14           <ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
                                                                                                            ~~~~~~~~~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


Error: src/themes/dspace/app/navbar/navbar.component.html:14:127 - error TS2339: Property 'get' does not exist on type 'unknown'.

14           <ng-container *ngComponentOutlet="(sectionMap$ | async).get(section.id)?.component; injector: (sectionMap$ | async).get(section.id)?.injector;"></ng-container>
                                                                                                                                 ~~~

  src/themes/dspace/app/navbar/navbar.component.ts:13:16
    13   templateUrl: 'navbar.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component NavbarComponent.


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 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.
Editor is loading...
Leave a Comment