{"action":"created","issue":{"url":"https://api.github.com/repos/mgechev/angular-seed/issues/1684","repository_url":"https://api.github.com/repos/mgechev/angular-seed","labels_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1684/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1684/comments","events_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1684/events","html_url":"https://github.com/mgechev/angular-seed/issues/1684","id":192423748,"number":1684,"title":"Cannot run npm run build.prod","user":{"login":"victorcarvalhosp","id":4266657,"avatar_url":"https://avatars.githubusercontent.com/u/4266657?v=3","gravatar_id":"","url":"https://api.github.com/users/victorcarvalhosp","html_url":"https://github.com/victorcarvalhosp","followers_url":"https://api.github.com/users/victorcarvalhosp/followers","following_url":"https://api.github.com/users/victorcarvalhosp/following{/other_user}","gists_url":"https://api.github.com/users/victorcarvalhosp/gists{/gist_id}","starred_url":"https://api.github.com/users/victorcarvalhosp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorcarvalhosp/subscriptions","organizations_url":"https://api.github.com/users/victorcarvalhosp/orgs","repos_url":"https://api.github.com/users/victorcarvalhosp/repos","events_url":"https://api.github.com/users/victorcarvalhosp/events{/privacy}","received_events_url":"https://api.github.com/users/victorcarvalhosp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-29T22:44:05Z","updated_at":"2016-11-29T23:27:43Z","closed_at":null,"body":"With npm start everything work's fine, but when I try to run \"npm run build.prod\" I'm gettin the following error in my two diferent projects...:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'C:\\\\Program Files\\\\nodejs\\\\node.exe',\r\n1 verbose cli   'C:\\\\Users\\\\victo\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js',\r\n1 verbose cli   'run',\r\n1 verbose cli   'build.prod' ]\r\n2 info using npm@3.10.9\r\n3 info using node@v4.4.2\r\n4 verbose run-script [ 'prebuild.prod', 'build.prod', 'postbuild.prod' ]\r\n5 info lifecycle angular-seed@0.0.1~prebuild.prod: angular-seed@0.0.1\r\n6 silly lifecycle angular-seed@0.0.1~prebuild.prod: no script for prebuild.prod, continuing\r\n7 info lifecycle angular-seed@0.0.1~build.prod: angular-seed@0.0.1\r\n8 verbose lifecycle angular-seed@0.0.1~build.prod: unsafe-perm in lifecycle true\r\n9 verbose lifecycle angular-seed@0.0.1~build.prod: PATH: C:\\Users\\victo\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\node-gyp-bin;C:\\Users\\victo\\Documents\\DEV\\workspace\\medipop\\node_modules\\.bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files\\Java\\jdk1.8.0_65\\bin;C:\\Users\\victo\\Documents\\DEV\\adt-bundle-windows-x86_64-20140702\\sdk\\tools;C:\\Users\\victo\\Documents\\DEV\\adt-bundle-windows-x86_64-20140702\\sdk\\platform-tools;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\Git\\cmd;C:\\Users\\victo\\Documents\\DEV\\apache-maven-3.3.9\\bin;C:\\Users\\victo\\Documents\\DEV\\putty;C:\\Ruby23-x64\\bin;C:\\Users\\victo\\AppData\\Roaming\\npm;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\victo\\AppData\\Local\\Microsoft\\WindowsApps\r\n10 verbose lifecycle angular-seed@0.0.1~build.prod: CWD: C:\\Users\\victo\\Documents\\DEV\\workspace\\medipop\r\n11 silly lifecycle angular-seed@0.0.1~build.prod: Args: [ '/d /s /c',\r\n11 silly lifecycle   'gulp build.prod --color --env-config prod --build-type prod' ]\r\n12 silly lifecycle angular-seed@0.0.1~build.prod: Returned: code: 1  signal: null\r\n13 info lifecycle angular-seed@0.0.1~build.prod: Failed to exec build.prod script\r\n14 verbose stack Error: angular-seed@0.0.1 build.prod: `gulp build.prod --color --env-config prod --build-type prod`\r\n14 verbose stack Exit status 1\r\n14 verbose stack     at EventEmitter.<anonymous> (C:\\Users\\victo\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\lifecycle.js:255:16)\r\n14 verbose stack     at emitTwo (events.js:87:13)\r\n14 verbose stack     at EventEmitter.emit (events.js:172:7)\r\n14 verbose stack     at ChildProcess.<anonymous> (C:\\Users\\victo\\AppData\\Roaming\\npm\\node_modules\\npm\\lib\\utils\\spawn.js:40:14)\r\n14 verbose stack     at emitTwo (events.js:87:13)\r\n14 verbose stack     at ChildProcess.emit (events.js:172:7)\r\n14 verbose stack     at maybeClose (internal/child_process.js:827:16)\r\n14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n15 verbose pkgid angular-seed@0.0.1\r\n16 verbose cwd C:\\Users\\victo\\Documents\\DEV\\workspace\\medipop\r\n17 error Windows_NT 10.0.14393\r\n18 error argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\victo\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build.prod\"\r\n19 error node v4.4.2\r\n20 error npm  v3.10.9\r\n21 error code ELIFECYCLE\r\n22 error angular-seed@0.0.1 build.prod: `gulp build.prod --color --env-config prod --build-type prod`\r\n22 error Exit status 1\r\n23 error Failed at the angular-seed@0.0.1 build.prod script 'gulp build.prod --color --env-config prod --build-type prod'.\r\n23 error Make sure you have the latest version of node.js and npm installed.\r\n23 error If you do, this is most likely a problem with the angular-seed package,\r\n23 error not with npm itself.\r\n23 error Tell the author that this fails on your system:\r\n23 error     gulp build.prod --color --env-config prod --build-type prod\r\n23 error You can get information on how to open an issue for this project with:\r\n23 error     npm bugs angular-seed\r\n23 error Or if that isn't available, you can get their info via:\r\n23 error     npm owner ls angular-seed\r\n23 error There is likely additional logging output above.\r\n24 verbose exit [ 1, true ]\r\n```"},"comment":{"url":"https://api.github.com/repos/mgechev/angular-seed/issues/comments/263733751","html_url":"https://github.com/mgechev/angular-seed/issues/1684#issuecomment-263733751","issue_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1684","id":263733751,"user":{"login":"rossedfort","id":11775628,"avatar_url":"https://avatars.githubusercontent.com/u/11775628?v=3","gravatar_id":"","url":"https://api.github.com/users/rossedfort","html_url":"https://github.com/rossedfort","followers_url":"https://api.github.com/users/rossedfort/followers","following_url":"https://api.github.com/users/rossedfort/following{/other_user}","gists_url":"https://api.github.com/users/rossedfort/gists{/gist_id}","starred_url":"https://api.github.com/users/rossedfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossedfort/subscriptions","organizations_url":"https://api.github.com/users/rossedfort/orgs","repos_url":"https://api.github.com/users/rossedfort/repos","events_url":"https://api.github.com/users/rossedfort/events{/privacy}","received_events_url":"https://api.github.com/users/rossedfort/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T23:27:43Z","updated_at":"2016-11-29T23:27:43Z","body":"It seems to be caused by the latest version of @types/gulp-util (3.0.29) released earlier this afternoon\r\n\r\ntemporary fix: in package.json fix @types/gulp-util's version to be 3.0.28\r\n\r\nsrc: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12997"}}
{"actor":{"display_login":"rossedfort"}}