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

Problem docker install on Mac #5

Open
Rachine opened this issue Jun 7, 2022 · 0 comments
Open

Problem docker install on Mac #5

Rachine opened this issue Jun 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Rachine
Copy link

Rachine commented Jun 7, 2022

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! [email protected] 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 [email protected] build script.

have you ever encountered that?
Thanks

@Rachine Rachine added the bug Something isn't working label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant