{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/173","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/173/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/173/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/173","id":183209236,"number":173,"title":"Ionic's rc.1 tries to compile typings and tests folder","user":{"login":"patrickbussmann","id":15617021,"avatar_url":"https://avatars.githubusercontent.com/u/15617021?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickbussmann","html_url":"https://github.com/patrickbussmann","followers_url":"https://api.github.com/users/patrickbussmann/followers","following_url":"https://api.github.com/users/patrickbussmann/following{/other_user}","gists_url":"https://api.github.com/users/patrickbussmann/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickbussmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickbussmann/subscriptions","organizations_url":"https://api.github.com/users/patrickbussmann/orgs","repos_url":"https://api.github.com/users/patrickbussmann/repos","events_url":"https://api.github.com/users/patrickbussmann/events{/privacy}","received_events_url":"https://api.github.com/users/patrickbussmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-15T13:16:58Z","updated_at":"2016-10-15T13:20:48Z","closed_at":null,"body":"#### Short description of the problem:\r\n\r\nThis is my current log if I start ionic serve.\r\nThe problem is that ionic tries to compile the typings folder. Or it tries to include this folder to the build process so that much typing are duplicated.\r\nThe same for the tests. For the tests I'm using jasmine so ionic shouldn't care about missing it or describe functions. But ionic care about... :-(\r\n\r\n#### What behavior are you expecting?\r\nThat the tests and typings folders are ignored during the compile process of ionic serve. 👍 \r\n\r\n**Steps to reproduce:**\r\n1. Create tests folder or install typings with tsd https://github.com/DefinitelyTyped/tsd\r\n2. Try to compile your project\r\n\r\n**Which @ionic/app-scripts version are you using?**\r\n+-- @ionic/app-scripts@0.0.34\r\n\r\n**Log:**\r\n\r\n\tC:\\xampp\\htdocs>ionic serve -a --nobrowser\r\n\t\r\n\tRunning 'serve:before' npm script before serve\r\n\t\r\n\t> htdocs@1.0.0 watch C:\\xampp\\htdocs\r\n\t> ionic-app-scripts watch\r\n\t\r\n\t[13:24:53]  ionic-app-scripts 0.0.34\r\n\t[13:24:53]  watch started ...\r\n\t[13:24:53]  build dev started ...\r\n\t[13:24:53]  clean started ...\r\n\t[13:24:53]  clean finished in 7 ms\r\n\t[13:24:53]  copy started ...\r\n\t[13:24:53]  transpile started ...\r\n\t[13:24:54]  lint started ...\r\n\t[13:24:57]  lint finished in 3.75 s\r\n\t[13:24:59]  typescript: ...xampp/htdocs/node_modules/typescript/lib/lib.es2015.iterable.d.ts, \r\n\t            line: 141 \r\n\t            Duplicate identifier 'Promise'.\r\n\t\r\n\t     L140:      race<T>(values: Iterable<T | PromiseLike<T>>): Promise<T>;\r\n\t     L141:  [13:24:59]  typescript: .../xampp/htdocs/node_modules/typescript/lib/lib.es2015.promise.d.ts, }\r\n\t\r\n\t\r\n\t            line: 20 \r\n\t            Duplicate identifier 'Promise'.\r\n\t\r\n\t      L19:  * Attaches callbacks [13:24:59]  typescript: .../xampp/htdocs/node_modules/typescript/lib/lib.es2015.promise.d.ts, for\r\n\t the resolution and/or rejection of the Promise.\r\n\t            line: 187       L20:\r\n\t* @param[13:24:59]  typescript: ...docs/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts, \r\n\t             line: 164 o\r\n\tnfulfilled The callback to execute when the Promise is resolved.\r\n\t      L21:  * @returns A Promise for the completion of which ever callback is executed.\r\n\t\r\n\t[13:24:59]  typescript: .../htdocs/src/pages/2order/+cart/shared/cart-indicator.component.ts,             Duplicate identifier 'Promise'. \r\n\t\r\n\t            Duplicate identifier 'Promise'. \r\n\t\r\n\t\r\n\t     L163:              line: 51 * Replaces text \r\n\tin a string, using this regular expression.\r\n\t     L164:  * @para[13:24:59]  typescript: C:/xampp/htdocs/src/pages/2order/+order/order.component.ts, line: m\r\n\t            6  \r\n\tstring A String object or string literal whose contents matching against\r\n\t     L165:  *               [13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 3 this\r\n\t regular expression will be replaced\r\n\t\r\n\t            Argument of type '{ type: string; }' is not assignable to parameter of type 'Scheduler |\r\n\t            { type: string; totalCount: number; }'. Type '{ type: string; }' is not assignable to type\r\n\t            '{ type: string; totalCount: number; }'. Property 'totalCount' is missing in type '{ type:\r\n\t            string; }'.\r\n\t\r\n\t      L50:  [13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 7 .distinctUntilChanged()\r\n\t\r\n\t      L51:  .startWith({type: 'in[13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 7 i\r\n\tt'})\r\n\t      L52:  [13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 9 .subscribe(data => {\r\n\t\r\n\t            Module '\"C:/xampp/htdocs/src/pages/2order/shared/index\"' has no exported member \r\n\t            'Product'. \r\n\t\r\n\t\r\n\t       L5:  import {CartComponent, CartService} from '../+cart/index';\r\n\t       L6:  import {P[13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 10 \r\n\troduc[13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 14 \r\n\tt} from '../shared/index';\r\n\t       L7:  [13:24:59]  typescript: C:/xampp/htdocs/test/intro_spec.ts, line: 14 \r\n\timport {CustomProductPage} from '../custom-product/custom-product';\r\n\t\r\n\t            Cannot find name 'browser'.\r\n\t\r\n\t[13:24:59]  typescript: C:/xampp/htdocs/typings/es6-promise/es6-promise.d.ts, line: 11 \r\n\t       L2:  [13:24:59]  typescript: C:/xampp/htdocs/typings/es6-promise/es6-promise.d.ts, line: 42 beforeEach(() => {\r\n\t\r\n\t       L3:    browser.get('');\r\n\t[13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 9        L4:\r\n\t});\r\n\t\r\n\t            Cannot find name 'element'.\r\n\t\r\n\t       L6:  it('should have multiple pages', () => {\r\n\t[13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 11        L7:\r\n\t  expect([13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 13 e\r\n\tlement.all(by.css('.header-intro')).count()).toBe(1);\r\n\t\r\n\t            Cannot find name 'by'.\r\n\t\r\n\t       L6:  it('should have multiple pages', () => {\r\n\t[13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 14        L7:  \r\n\t  expect(element.all(by.css('.header-intro')).count()).toBe(1);\r\n\t\r\n\t            Cannot find name 'by'.\r\n\t\r\n\t       L9:  let buttonSelectorOnward = b[13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 17 \r\n\ty.buttonText('Weiter');\r\n\t      L10:  expect(element.all(buttonSelectorOnward).count()).toBe(1);\r\n\t\r\n\t            Cannot find name 'element'. \r\n\t\r\n\t       L9:  let buttonSelectorOnward = by.buttonText('Weiter');\r\n\t      L10:  expect(element.all(buttonSelectorOnward).count()).toBe(1);\r\n\t\r\n\t            Cannot find name 'element'. \r\n\t\r\n\t      L13:  // {\r\n\t      L14:    let buttonOnward = element(by.buttonText('Weiter'));\r\n\t      L15:    buttonOnward.click();\r\n\t\r\n\t            Cannot find name 'by'. \r\n\t\r\n\t      L13:  // {\r\n\t      L14:    let buttonOnward = element(by[13:24:59]  typescript: C:/xampp/htdocs/typings/jasmine/jasmine.d.ts, line: 18 .buttonText('Weiter'));\r\n\t\r\n\t      L15:    buttonOnward.click();\r\n\t\r\n\t            Duplicate identifier 'Promise'.\r\n\t\r\n\t      L10:  * If you call reject your promise is rejected with the object passed to reject.\r\n\t[13:24:59]  typescript: C:/xampp/htdocs/typings/mocha/mocha.d.ts, line: 33       L11:\r\n\t* For consistency[13:24:59]  typescript: C:/xampp/htdocs/typings/mocha/mocha.d.ts, line: 34\r\n\tand debugging (eg stack traces), obj should be an instanceof Error.\r\n\t      L12:  [13:24:59]  typescript: C:/xampp/htdocs/typings/mocha/mocha.d.ts, line: 39 * Any errors thrown \r\n\tin the constructor callback will be implicitly passed to reject().\r\n\t\r\n\t            Duplicate identifier 'Promise'.\r\n\t\r\n\t      L42:  [13:24:59]  typescript: C:/xampp/htdocs/typings/mocha/mocha.d.ts, line: 40 \r\n\tfunction resolve<T>(value?: T | Thenable<T>): Promise<T>;\r\n\t\r\n\t            Duplicate identifier 'describe'.\r\n\t\r\n\t       L8:  declare function fit(expectation: string, assertion?: (done: DoneFn) => void, timeout?:\r\n\t       L9:  declare function xit(expectation: string, assertion?: () => void, timeout?: number): voi\r\n\t      L10:  declare function xit(expectation: string, assertion?: (done: DoneFn) => void, timeout?:\r\n\t\r\n\t            Duplicate identifier 'xdescribe'.\r\n\t\r\n\t            Duplicate identifier 'it'.\r\n\t\r\n\t      L12:  /** If you call the function pending anywhere in the spec body, no matter the expectati\r\n\t      L13:  declare function pending(reason?: string): void;\r\n\t\r\n\t            Duplicate identifier 'it'.\r\n\t\r\n\t            Duplicate identifier 'xit'.\r\n\t\r\n\t      L16:  declare function beforeEach(action: (done: DoneFn) => void, timeout?: number): void;\r\n\t      L17:  declare function afterEach(action: () => void, timeout?: number): void;\r\n\t      L18:  declare function afterEach(action: (done: DoneFn) => void, timeout?: number): void;\r\n\t\r\n\t            Duplicate identifier 'xit'.\r\n\t\r\n\t      L17:  declare function afterEach(action: () => void, timeout?: number): void;\r\n\t      L18:  declare function aft[13:24:59]  transpile failed erEach(action: (done: DoneFn) => void, timeout?: number): void;\r\n\t\r\n\t            Duplicate identifier 'describe'. \r\n\t\r\n\t\r\n\t      L32:  // alias for `describe`\r\n\t      L33:  declare var suite: Mocha.IContextDefinition;\r\n\t      L34:  declare var it: Mocha.ITestDefinition;\r\n\t\r\n\t            Duplicate identifier 'xdescribe'.\r\n\t\r\n\t      L33:  declare var suite: Mocha.IContextDefinition;\r\n\t      L34:  declare var it: Mocha.ITestDefinition;\r\n\t      L35:  declare var xit: Mocha.ITestDefinition;\r\n\t\r\n\t            Duplicate identifier 'it'.\r\n\t\r\n\t            Duplicate identifier 'xit'.\r\n\t\r\n\t      L40:  interface MochaDone {\r\n\t      L41:      (error?: any): any;\r\n\t\r\n\t[13:24:59]  copy finished in 5.82 s\r\n\t[13:24:59]  watch ready in 5.97 s\r\n\tRunning live reload server: http://localhost:35729\r\n\tWatching: www/**/*, !www/lib/**/*, !www/**/*.map\r\n\t√ Running dev server:  http://localhost:8100\r\n\tIonic server commands, enter:\r\n\t  restart or r to restart the client app from the root\r\n\t  goto or g and a url to have the app navigate to the given url\r\n\t  consolelogs or c to enable/disable console log output\r\n\t  serverlogs or s to enable/disable server log output\r\n\t  quit or q to shutdown the server and exit"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/253983918","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/173#issuecomment-253983918","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/173","id":253983918,"user":{"login":"danielehrhardt","id":19570043,"avatar_url":"https://avatars.githubusercontent.com/u/19570043?v=3","gravatar_id":"","url":"https://api.github.com/users/danielehrhardt","html_url":"https://github.com/danielehrhardt","followers_url":"https://api.github.com/users/danielehrhardt/followers","following_url":"https://api.github.com/users/danielehrhardt/following{/other_user}","gists_url":"https://api.github.com/users/danielehrhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/danielehrhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielehrhardt/subscriptions","organizations_url":"https://api.github.com/users/danielehrhardt/orgs","repos_url":"https://api.github.com/users/danielehrhardt/repos","events_url":"https://api.github.com/users/danielehrhardt/events{/privacy}","received_events_url":"https://api.github.com/users/danielehrhardt/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T13:20:48Z","updated_at":"2016-10-15T13:20:48Z","body":"Same Problem here!!"}}
{"actor":{"display_login":"danielehrhardt"}}