Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:6:14: Duplicate identifier 'PropertyKey'.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:10:5: All declarations of 'value' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:248:5: All declarations of 'EPSILON' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:283:5: All declarations of 'MAX_SAFE_INTEGER' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:290:5: All declarations of 'MIN_SAFE_INTEGER' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:346:5: All declarations of 'flags' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:498:5: All declarations of 'prototype' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:561:5: All declarations of 'size' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:570:5: All declarations of 'prototype' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:581:5: All declarations of 'size' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:591:5: All declarations of 'prototype' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:606:5: All declarations of 'prototype' must have identical modifiers.
Error at /Users/tyrion/devel/saveup-front/node_modules/@types/es6-shim/index.d.ts:620:5: All declarations of 'prototype' must have identical modifiers.
at check (/Users/tyrion/devel/saveup-front/node_modules/@angular/tsc-wrapped/src/tsc.js:31:15)
Looks like your using (npm) types instead of typings, follow the instructions to upgrade to rc 1(mainly a tooling update). Then delete typings folder and typings.json. you just currently have 2 things providing typing info and you should just have one.
That is to be expected, as written in Ionic Upgrade Log. You need to use index.html for your library and declare like in Ionic Example Project in declarations.d.ts file.
If that does not help for your library, it might be incompatible with roll-up. You need to configure rollup.config.js. See here for how to do it, also we compiled a Google Doc about Libraries’ compatibility to RollUp: RC0 - library dependency export (jwt-angular2, js-base64)
I discovered that it is related to app-script 0.0.31 and up.
At 0.0.30 my library used to work with declarations.d.ts file and importing by script tag.
But now, even with script ( that is the last resort ), the project isn’t working anymore.
Like I said, to tackle my problems and they were vast and plentyful, I followed as strictly as possible the working Ionic2 RC0 example. It is not perfect and had errors too, but at least it did compile and render in Browser.