{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/696","repository_url":"https://api.github.com/repos/aurelia/skeleton-navigation","labels_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/696/comments","events_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/696/events","html_url":"https://github.com/aurelia/skeleton-navigation/issues/696","id":182504216,"number":696,"title":"\"npm run build:prod\" in skeleton-typescript-webpack fails with error \"Cannot find name 'Locator'\"","user":{"login":"ErikSchierboom","id":135246,"avatar_url":"https://avatars.githubusercontent.com/u/135246?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikSchierboom","html_url":"https://github.com/ErikSchierboom","followers_url":"https://api.github.com/users/ErikSchierboom/followers","following_url":"https://api.github.com/users/ErikSchierboom/following{/other_user}","gists_url":"https://api.github.com/users/ErikSchierboom/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikSchierboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikSchierboom/subscriptions","organizations_url":"https://api.github.com/users/ErikSchierboom/orgs","repos_url":"https://api.github.com/users/ErikSchierboom/repos","events_url":"https://api.github.com/users/ErikSchierboom/events{/privacy}","received_events_url":"https://api.github.com/users/ErikSchierboom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"AshleyGrant","id":9885322,"avatar_url":"https://avatars.githubusercontent.com/u/9885322?v=3","gravatar_id":"","url":"https://api.github.com/users/AshleyGrant","html_url":"https://github.com/AshleyGrant","followers_url":"https://api.github.com/users/AshleyGrant/followers","following_url":"https://api.github.com/users/AshleyGrant/following{/other_user}","gists_url":"https://api.github.com/users/AshleyGrant/gists{/gist_id}","starred_url":"https://api.github.com/users/AshleyGrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshleyGrant/subscriptions","organizations_url":"https://api.github.com/users/AshleyGrant/orgs","repos_url":"https://api.github.com/users/AshleyGrant/repos","events_url":"https://api.github.com/users/AshleyGrant/events{/privacy}","received_events_url":"https://api.github.com/users/AshleyGrant/received_events","type":"User","site_admin":false},"assignees":[{"login":"AshleyGrant","id":9885322,"avatar_url":"https://avatars.githubusercontent.com/u/9885322?v=3","gravatar_id":"","url":"https://api.github.com/users/AshleyGrant","html_url":"https://github.com/AshleyGrant","followers_url":"https://api.github.com/users/AshleyGrant/followers","following_url":"https://api.github.com/users/AshleyGrant/following{/other_user}","gists_url":"https://api.github.com/users/AshleyGrant/gists{/gist_id}","starred_url":"https://api.github.com/users/AshleyGrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshleyGrant/subscriptions","organizations_url":"https://api.github.com/users/AshleyGrant/orgs","repos_url":"https://api.github.com/users/AshleyGrant/repos","events_url":"https://api.github.com/users/AshleyGrant/events{/privacy}","received_events_url":"https://api.github.com/users/AshleyGrant/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-10-12T11:42:50Z","updated_at":"2016-10-17T05:30:07Z","closed_at":null,"body":"**I'm submitting a bug report**\r\n\r\n* **Aurelia Skeleton Version**\r\nskeleton-typescript-webpack\r\n\r\n* **Framework Version:**\r\n1.0.0\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nWindows 7\r\n\r\n* **Node Version:**\r\n6.7.0\r\n\r\n* **NPM Version:**\r\n3.10.8\r\n\r\n* **Webpack Version**\r\nwebpack 2.1.0-beta.22\r\n\r\n* **Browser:**\r\nall \r\n\r\n* **Language:**\r\nTypeScript 2.0\r\n\r\n\r\n**Current behavior:**\r\n\r\nIf you use the default (unmodified) webpack-typescript skeleton and run `npm run build:prod`, the build has an error:\r\n\r\n<pre>\r\nERROR in [default] C:\\Users\\erikschierboom\\Documents\\Visual Studio 2015\\Projects\r\n\\skeleton-typescript-webpack\\custom_typings\\aurelia-protractor.d.ts:17:35\r\nCannot find name 'Locator'.\r\n\r\nERROR in [default] C:\\Users\\erikschierboom\\Documents\\Visual Studio 2015\\Projects\r\n\\skeleton-typescript-webpack\\node_modules\\protractor\\built\\index.d.ts:11:9\r\nExport declaration conflicts with exported declaration of 'ProtractorBy'\r\nChild html-webpack-plugin for \"index.html\":\r\n        + 4 hidden modules\r\nChild extract-text-webpack-plugin:\r\n        + 2 hidden modules\r\nChild extract-text-webpack-plugin:\r\n                                     Asset     Size  Chunks             Chunk Na\r\nmes\r\n      25a32416abee198dd821b0b17a198a8f.eot  76.5 kB          [emitted]\r\n      d7c639084f684d66a1bc66855d193ed8.svg   392 kB          [emitted]\r\n      1dc35d25e61d819a9c357074014867ab.ttf   153 kB          [emitted]\r\n     c8ddf1e5e5bf3682bc7bebf30f394148.woff  90.4 kB          [emitted]\r\n    e6cf7c6ec7c2d6f670ae9d762604cb0b.woff2  71.9 kB          [emitted]\r\n        + 8 hidden modules\r\nChild extract-text-webpack-plugin:\r\n                                     Asset     Size  Chunks             Chunk Na\r\nmes\r\n      f4769f9bdb7466be65088239c12046d1.eot  20.1 kB          [emitted]\r\n      89889688147bd7575d6327160d64e760.svg   109 kB          [emitted]\r\n      e18bbf611f2a2e43afc071aa2f4e1512.ttf  45.4 kB          [emitted]\r\n     fa2772327f55d8198301fdb8bcfc8158.woff  23.4 kB          [emitted]\r\n    448c34a56d699c29117adc64c43affeb.woff2    18 kB          [emitted]\r\n        + 7 hidden modules\r\n\r\nnpm ERR! Windows_NT 6.1.7601\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\erikschierboom\\\\\r\nAppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"webpack\" \"--\"\r\n\"--progress\" \"--profile\"\r\nnpm ERR! node v6.7.0\r\nnpm ERR! npm  v3.10.8\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! aurelia-skeleton-navigation-webpack@1.0.2 webpack: `cross-env ./node_mo\r\ndules/.bin/webpack \"--progress\" \"--profile\"`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the aurelia-skeleton-navigation-webpack@1.0.2 webpack script\r\n'cross-env ./node_modules/.bin/webpack \"--progress\" \"--profile\"'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the aurelia-skeleton-navi\r\ngation-webpack package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     cross-env ./node_modules/.bin/webpack \"--progress\" \"--profile\"\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs aurelia-skeleton-navigation-webpack\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls aurelia-skeleton-navigation-webpack\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\Users\\erikschierboom\\Documents\\Visual Studio 2015\\Projects\\skele\r\nton-typescript-webpack\\npm-debug.log\r\n\r\nnpm ERR! Windows_NT 6.1.7601\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\erikschierboom\\\\\r\nAppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build:prod\"\r\nnpm ERR! node v6.7.0\r\nnpm ERR! npm  v3.10.8\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! aurelia-skeleton-navigation-webpack@1.0.2 build:prod: `cross-env NODE_E\r\nNV=production npm run webpack -- --progress --profile`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the aurelia-skeleton-navigation-webpack@1.0.2 build:prod scri\r\npt 'cross-env NODE_ENV=production npm run webpack -- --progress --profile'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the aurelia-skeleton-navi\r\ngation-webpack package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     cross-env NODE_ENV=production npm run webpack -- --progress --profi\r\nle\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs aurelia-skeleton-navigation-webpack\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls aurelia-skeleton-navigation-webpack\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     C:\\Users\\erikschierboom\\Documents\\Visual Studio 2015\\Projects\\skele\r\nton-typescript-webpack\\npm-debug.log\r\n</pre>\r\n\r\nRemoving the `aurelia-protractor.d.ts` file fixes this problem.\r\n\r\n* **What is the expected behavior?**\r\nThe build should succeed.\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\nFix something that is broken :)"},"comment":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/comments/254115914","html_url":"https://github.com/aurelia/skeleton-navigation/issues/696#issuecomment-254115914","issue_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/696","id":254115914,"user":{"login":"neolivz","id":754818,"avatar_url":"https://avatars.githubusercontent.com/u/754818?v=3","gravatar_id":"","url":"https://api.github.com/users/neolivz","html_url":"https://github.com/neolivz","followers_url":"https://api.github.com/users/neolivz/followers","following_url":"https://api.github.com/users/neolivz/following{/other_user}","gists_url":"https://api.github.com/users/neolivz/gists{/gist_id}","starred_url":"https://api.github.com/users/neolivz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolivz/subscriptions","organizations_url":"https://api.github.com/users/neolivz/orgs","repos_url":"https://api.github.com/users/neolivz/repos","events_url":"https://api.github.com/users/neolivz/events{/privacy}","received_events_url":"https://api.github.com/users/neolivz/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T05:30:07Z","updated_at":"2016-10-17T05:30:07Z","body":"Locator is located at \r\nimport {Locator} from 'protractor/built/locators'\r\nbut that does not look like an ideal solution.\r\n\r\n\r\nApart from that index.js/index.d.ts files had the full declaration earlier (build time) now they have import and export declaration which is why` \"Export declaration conflicts with exported declaration of 'ProtractorBy'`\" message is coming. Not sure how to fix it."}}
{"actor":{"display_login":"neolivz"}}