Open MELAS007 opened 6 years ago
Facing the same issue
in your file : node_modules/ionic2-zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts
export declare function makeStateKey<T>(key: string): StateKey<T>;
update this change and it will start working
@erBhushanPawar this is not part of my code... if you check the path you can see NODE_MODULES
same issue
typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 ',' expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Type parameter declaration expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Expression expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 ')' expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 ';' expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Declaration or statement expected.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 '(' expected.
[13:30:15] typescript: ...HSC/mobile5/node_modules/@angular/platform-browser/animations/src/providers.d.ts, line: 8 Module '"D:/EDUMASR/mobile apps/CLUBS/HSC/mobile5/node_modules/@angular/animations/browser"' has no exported member 'ɵDomAnimationEngine'.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Object is possibly 'undefined'.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Cannot find name 'key'.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 Cannot find name 'string'.
[13:30:15] typescript: ...zoom-area/node_modules/@angular/platform-browser/src/browser/transfer_state.d.ts, line: 34 'StateKey' only refers to a type, but is being used as a value here.
Error: Failed to transpile program at BuildError.Error (native) at new BuildError (D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\transpile.js:137:20 at transpileWorker (D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\transpile.js:103:12) at Object.transpile (D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\transpile.js:61:12) at buildProject (D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\build.js:97:78) at D:\EDUMASR\mobile apps\CLUBS\HSC\mobile5\node_modules\@ionic\app-scripts\dist\build.js:47:16