This app is programmed in an iMac but now I want to run it in another mac, I install dependencies and I run it but it gives me the following error:
MacBook-Air-of-Alejandro: electron-smartboxes alexhack $ npm install npm WARN @ agm / core @ 1.0.0-beta.3 requires a peer of @ angular / common @ ^ 5.0.0 || ^ 6.0.0 butnone is installed. You must install peer dependencies yourself. npm WARN @ agm / core @ 1.0.0-beta.3 requires a peer of @ angular / core @ ^ 5.0.0 || ^ 6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @ angular / common @ ~ 2.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @ angular / compiler @ ~ 2.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @ angular / core @ ~ 2.0.0 but none is installed.You must install peer dependencies yourself. npm WARN [email protected] requires a peer of @ angular / forms @ ~ 2.0.0 but none is installed. You must install peer dependencies yourself.
up to date in 13.66s
and when running it says the following:
W
ARNING in ./~/@agm/core/services/maps-api-loader/lazy-maps-api-loader.js
24:38-52 "export 'InjectionToken' was not found in '@angular/core'
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/@agm/core/services/maps-api-loader/lazy-maps-api-loader.d.ts (1,10): Module '"/Users/alexhack/Desktop/electron-smartboxes/node_modules/@angular/core/index"' has no exported member 'InjectionToken'.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/di/injector.d.ts (11,29): Initializers are not allowed in ambient contexts.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/util/decorators.d.ts (29,34): Initializers are not allowed in ambient contexts.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/util/decorators.d.ts (30,33): Initializers are not allowed in ambient contexts.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/util/decorators.d.ts (31,36): Initializers are not allowed in ambient contexts.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,21): ']' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,22): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,23): Declaration or statement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (44,5): Declaration orstatement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,21): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,23): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,21): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,23): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (67,8): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,21): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,43): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,52): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,58): Expression expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,21): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,43): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,52): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,58): Expression expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (84,1): Declaration orstatement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,21): ']' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,22): ';' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,23): Declaration or statement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,24): Declaration or statement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (122,5): Declaration or statement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (123,13): Expression expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,21): ']' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,22): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,23): Property assignment expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,24): Property assignment expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,32): ':' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (126,13): Expression expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,21): ']' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,22): ',' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,23): Property assignment expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,24): Property assignment expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,32): ':' expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (129,14): Expression expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (130,1): Declaration or statement expected.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (50,5): Unused label.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (58,5): Unused label.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,9): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (43,25): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (51,25): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (59,25): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (67,5): Cannot find name 'n'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (67,10): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,5): Cannot find name 'r'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,7): Cannot find name 'directiveIndex'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,23): Cannot find name 'number'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,31): Cannot find name 'elementIndex'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (78,45): Cannot find name 'number'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,5): Cannot find name 'h'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,7): Cannot find name 'directiveIndex'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,23): Cannot find name 'number'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,31): Cannot find name 'elementIndex'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (83,45): Cannot find name 'number'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,9): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (121,26): Cannot find name 'string'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (123,5): Cannot find name 'outputs'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,9): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (124,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (126,5): Cannot find name 'methods'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,9): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,10): Cannot find name 'P'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,15): Cannot find name 'keyof'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (127,21): Cannot find name 'T'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (129,5): Cannot find name 'features'.)
/Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/definition_interfaces.d.ts (129,16): Cannot find name 'DirectiveDefFeature'.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/render3/instructions.d.ts (36,37): Initializers are not allowed in ambient contexts.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/animation/dsl.d.ts (81,33): Initializers are notallowed in ambient contexts.)
ERROR in /Users/alexhack/Desktop/electron-smartboxes/node_modules/angular-svg-round-progressbar/node_modules/@angular/core/src/animation/animation_metadata_wrapped.d.ts (12,33): Initializers are not allowed in ambient contexts.)
ERROR in Metadata version mismatch for module /Users/alexhack/Desktop/electron-smartboxes/node_modules/@agm/core/index.d.ts, found version 4, expected 3, resolving symbol AppModule in /Users/alexhack/Desktop/electron-smartboxes/src/app/app.module.ts, resolving symbol AppModule in /Users/alexhack/Desktop/electron-smartboxes/src/app/app.module.ts, resolving symbol AppModule in /Users/alexhack/Desktop/electron-smartboxes/src/app/app.module.ts
webpack: Failed to compile.