{"action":"created","issue":{"url":"https://api.github.com/repos/mgechev/angular-seed/issues/1591","repository_url":"https://api.github.com/repos/mgechev/angular-seed","labels_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1591/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1591/comments","events_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1591/events","html_url":"https://github.com/mgechev/angular-seed/issues/1591","id":187200354,"number":1591,"title":"npm run build.prod failed","user":{"login":"kahanu","id":794246,"avatar_url":"https://avatars.githubusercontent.com/u/794246?v=3","gravatar_id":"","url":"https://api.github.com/users/kahanu","html_url":"https://github.com/kahanu","followers_url":"https://api.github.com/users/kahanu/followers","following_url":"https://api.github.com/users/kahanu/following{/other_user}","gists_url":"https://api.github.com/users/kahanu/gists{/gist_id}","starred_url":"https://api.github.com/users/kahanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahanu/subscriptions","organizations_url":"https://api.github.com/users/kahanu/orgs","repos_url":"https://api.github.com/users/kahanu/repos","events_url":"https://api.github.com/users/kahanu/events{/privacy}","received_events_url":"https://api.github.com/users/kahanu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-03T21:52:09Z","updated_at":"2016-11-03T23:36:35Z","closed_at":"2016-11-03T22:22:48Z","body":"Dev works fine, but I just tried building for production, and I got this error:\r\n\r\n    0 info it worked if it ends with ok\r\n    1 verbose cli [ 'C:\\\\Program Files\\\\nodejs\\\\node.exe',\r\n    1 verbose cli   'C:\\\\Users\\\\King\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js',\r\n    1 verbose cli   'run',\r\n    1 verbose cli   'build.prod' ]\r\n    2 info using npm@3.9.2\r\n    3 info using node@v4.4.5\r\n    4 verbose run-script [ 'prebuild.prod', 'build.prod', 'postbuild.prod' ]\r\n    5 info lifecycle angular2-seed@0.0.0~prebuild.prod: angular2-seed@0.0.0\r\n    6 silly lifecycle angular2-seed@0.0.0~prebuild.prod: no script for prebuild.prod, continuing\r\n    7 info lifecycle angular2-seed@0.0.0~build.prod: angular2-seed@0.0.0\r\n    8 verbose lifecycle angular2-seed@0.0.0~build.prod: unsafe-perm in lifecycle true\r\n    9 verbose lifecycle angular2-seed@0.0.0~build.prod: PATH: C:\\Users\\King\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\node-gyp-bin;C:\\Websites\\MEAN\\brightonhallschool\\schoolsite\\node_modules\\.bin;C:\\Program Files\\nodejs;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;c:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\GtkSharp\\2.12\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\PROGRA~1\\CONDUS~1\\DISKEE~1\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files\\MongoDB\\Server\\3.2\\bin;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\King\\AppData\\Roaming\\npm\r\n    10 verbose lifecycle angular2-seed@0.0.0~build.prod: CWD: C:\\Websites\\MEAN\\brightonhallschool\\schoolsite\r\n    11 silly lifecycle angular2-seed@0.0.0~build.prod: Args: [ '/d /s /c', 'gulp build.prod --color --config-env prod' ]\r\n    12 silly lifecycle angular2-seed@0.0.0~build.prod: Returned: code: 1  signal: null\r\n    13 info lifecycle angular2-seed@0.0.0~build.prod: Failed to exec build.prod script\r\n    14 verbose stack Error: angular2-seed@0.0.0 build.prod: `gulp build.prod --color --config-env prod`\r\n    14 verbose stack Exit status 1\r\n    14 verbose stack     at EventEmitter.<anonymous> (C:\\Users\\King\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\lifecycle.js:245:16)\r\n    14 verbose stack     at emitTwo (events.js:87:13)\r\n    14 verbose stack     at EventEmitter.emit (events.js:172:7)\r\n    14 verbose stack     at ChildProcess.<anonymous> (C:\\Users\\King\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\spawn.js:24:14)\r\n    14 verbose stack     at emitTwo (events.js:87:13)\r\n    14 verbose stack     at ChildProcess.emit (events.js:172:7)\r\n    14 verbose stack     at maybeClose (internal/child_process.js:827:16)\r\n    14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n    15 verbose pkgid angular2-seed@0.0.0\r\n    16 verbose cwd C:\\Websites\\MEAN\\brightonhallschool\\schoolsite\r\n    17 error Windows_NT 6.3.9600\r\n    18 error argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\King\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build.prod\"\r\n    19 error node v4.4.5\r\n    20 error npm  v3.9.2\r\n    21 error code ELIFECYCLE\r\n    22 error angular2-seed@0.0.0 build.prod: `gulp build.prod --color --config-env prod`\r\n    22 error Exit status 1\r\n    23 error Failed at the angular2-seed@0.0.0 build.prod script 'gulp build.prod --color --config-env prod'.\r\n    23 error Make sure you have the latest version of node.js and npm installed.\r\n    23 error If you do, this is most likely a problem with the angular2-seed package,\r\n    23 error not with npm itself.\r\n    23 error Tell the author that this fails on your system:\r\n    23 error     gulp build.prod --color --config-env prod\r\n    23 error You can get information on how to open an issue for this project with:\r\n    23 error     npm bugs angular2-seed\r\n    23 error Or if that isn't available, you can get their info via:\r\n    23 error     npm owner ls angular2-seed\r\n    23 error There is likely additional logging output above.\r\n    24 verbose exit [ 1, true ]\r\n\r\nI'm using Visual Studio Code and I'm getting a lot of [stylelint] messages.  I can't tell what they are referring to: \r\n\r\n    4:26473 ?  Expected single space before \"}\" of a single-line block (block-closing-brace-space-before) [stylelint]\r\n    4:26475 ?  Expected newline after \"}\" (block-closing-brace-newline-after) [stylelint]\r\n    4:26488 ?  Expected double colon pseudo-element notation (selector-pseudo-element-colon-notation) [stylelint]\r\n    4:26494 ?  Expected single space before \"{\" (block-opening-brace-space-before) [stylelint]\r\n    4:26496 ?  Expected single space after \"{\" of a single-line block (block-opening-brace-space-after) [stylelint]\r\n    4:26504 ?  Expected single space after \":\" with a single-line declaration (declaration-colon-space-after) [stylel\r\n    4:26510 ?  Expected a trailing semicolon (declaration-block-trailing-semicolon) [stylelint]\r\n    4:26510 ?  Expected single space before \"}\" of a single-line block (block-closing-brace-space-before) [stylelint]\r\n\r\nI looked through all my code and it's formatted correctly.  Will style lint warning block a production build?\r\n\r\nAny help in figuring out why my production build is failing, is appreciated.\r\n\r\nBTW, I'm on a Windows 8.1 Pro machine.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mgechev/angular-seed/issues/comments/258305887","html_url":"https://github.com/mgechev/angular-seed/issues/1591#issuecomment-258305887","issue_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1591","id":258305887,"user":{"login":"mgechev","id":455023,"avatar_url":"https://avatars.githubusercontent.com/u/455023?v=3","gravatar_id":"","url":"https://api.github.com/users/mgechev","html_url":"https://github.com/mgechev","followers_url":"https://api.github.com/users/mgechev/followers","following_url":"https://api.github.com/users/mgechev/following{/other_user}","gists_url":"https://api.github.com/users/mgechev/gists{/gist_id}","starred_url":"https://api.github.com/users/mgechev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgechev/subscriptions","organizations_url":"https://api.github.com/users/mgechev/orgs","repos_url":"https://api.github.com/users/mgechev/repos","events_url":"https://api.github.com/users/mgechev/events{/privacy}","received_events_url":"https://api.github.com/users/mgechev/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T23:36:35Z","updated_at":"2016-11-03T23:36:35Z","body":"Try the latest version of the project and this warning will be gone (although it won't bring any problems):\r\n\r\n```\r\n$ git clone --depth 1 https://github.com/mgechev/angular-seed.git\r\n$ cd angular-seed\r\n\r\n# install the project's dependencies\r\n$ npm install\r\n```"}}
{"actor":{"display_login":"mgechev"}}