Skip to content

Problem docker install on Mac #5

@Rachine

Description

@Rachine

Following docker install following error appears line 7 of dockerfile RUN npm run build -- --prod :

#0 0.446 > ng build "--prod"                                                                                                                                  
#0 0.446                                                                                                                                                      
#0 15.22                                                                                                                                                      
#0 15.22 ERROR in node_modules/ngx-material-file-input/lib/model/file-input.model.d.ts:9:9 - error TS1086: An accessor cannot be declared in an ambient context.                                                                                                                                                            
#0 15.22                                                                                                                                                      
#0 15.22 9     get files(): File[];                                                                                                                           
#0 15.22           ~~~~~                                                                                                                                      
#0 15.22 node_modules/ngx-material-file-input/lib/model/file-input.model.d.ts:10:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 10     get fileNames(): string;
#0 15.22            ~~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:29:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 29     get value(): FileInput | null;
#0 15.22            ~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:30:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 30     set value(fileInput: FileInput | null);
#0 15.22            ~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:31:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 31     get placeholder(): string;
#0 15.22            ~~~~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:32:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 32     set placeholder(plh: string);
#0 15.22            ~~~~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:36:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 36     get empty(): boolean;
#0 15.22            ~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:37:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 37     get shouldLabelFloat(): boolean;
#0 15.22            ~~~~~~~~~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:38:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 38     get required(): boolean;
#0 15.22            ~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:39:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 39     set required(req: boolean);
#0 15.22            ~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:40:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 40     get isDisabled(): boolean;
#0 15.22            ~~~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:41:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 41     get disabled(): boolean;
#0 15.22            ~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:42:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 42     set disabled(dis: boolean);
#0 15.22            ~~~~~~~~
#0 15.22 node_modules/ngx-material-file-input/lib/file-input/file-input.component.d.ts:50:9 - error TS1086: An accessor cannot be declared in an ambient context.
#0 15.22 
#0 15.22 50     get fileNames(): string;
#0 15.22            ~~~~~~~~~
#0 15.22 
#0 15.30 npm ERR! code ELIFECYCLE
#0 15.30 npm ERR! errno 1
#0 15.30 npm ERR! seshat-angular-client@0.0.0 build: `ng build "--prod"`
#0 15.30 npm ERR! Exit status 1
#0 15.30 npm ERR! 
#0 15.30 npm ERR! Failed at the seshat-angular-client@0.0.0 build script.

have you ever encountered that?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions