{"action":"created","issue":{"url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/1181","repository_url":"https://api.github.com/repos/Swiip/generator-gulp-angular","labels_url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/1181/comments","events_url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/1181/events","html_url":"https://github.com/Swiip/generator-gulp-angular/issues/1181","id":231832252,"number":1181,"title":" typeerror: must be string Received undefined ","user":{"login":"kamilshahzad","id":691107,"avatar_url":"https://avatars2.githubusercontent.com/u/691107?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilshahzad","html_url":"https://github.com/kamilshahzad","followers_url":"https://api.github.com/users/kamilshahzad/followers","following_url":"https://api.github.com/users/kamilshahzad/following{/other_user}","gists_url":"https://api.github.com/users/kamilshahzad/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilshahzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilshahzad/subscriptions","organizations_url":"https://api.github.com/users/kamilshahzad/orgs","repos_url":"https://api.github.com/users/kamilshahzad/repos","events_url":"https://api.github.com/users/kamilshahzad/events{/privacy}","received_events_url":"https://api.github.com/users/kamilshahzad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-27T22:32:00Z","updated_at":"2017-05-27T22:47:50Z","closed_at":"2017-05-27T22:47:50Z","body":"\r\nI was using node 4 my projects are running fine when i updated to node 6 i am receiving this error during build. \r\nThrow new TypeError('Path must be string. Received ' + inspect(path));\r\n\r\nTypeError: must be string Received undefined \r\nat assetPath (path.js 7:11)\r\n\r\n![2017-05-28_03h31_33](https://cloud.githubusercontent.com/assets/691107/26524729/2af58ac8-4356-11e7-93d4-ab518eb630ab.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/comments/304480644","html_url":"https://github.com/Swiip/generator-gulp-angular/issues/1181#issuecomment-304480644","issue_url":"https://api.github.com/repos/Swiip/generator-gulp-angular/issues/1181","id":304480644,"user":{"login":"kamilshahzad","id":691107,"avatar_url":"https://avatars2.githubusercontent.com/u/691107?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilshahzad","html_url":"https://github.com/kamilshahzad","followers_url":"https://api.github.com/users/kamilshahzad/followers","following_url":"https://api.github.com/users/kamilshahzad/following{/other_user}","gists_url":"https://api.github.com/users/kamilshahzad/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilshahzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilshahzad/subscriptions","organizations_url":"https://api.github.com/users/kamilshahzad/orgs","repos_url":"https://api.github.com/users/kamilshahzad/repos","events_url":"https://api.github.com/users/kamilshahzad/events{/privacy}","received_events_url":"https://api.github.com/users/kamilshahzad/received_events","type":"User","site_admin":false},"created_at":"2017-05-27T22:47:50Z","updated_at":"2017-05-27T22:47:50Z","body":"for the time being i resolved the issue by adding try catch in \r\nnode_modules\\clean-css\\lib\\utils\\input-source-map-tracker.js \r\n\r\n\r\nfunction trackContentSources(self, sourceFile) {\r\n  try{\r\n  var consumer = self.maps[sourceFile].data;\r\n  var isRemote = REMOTE_RESOURCE.test(sourceFile);\r\n  var sourcesMapping = {};\r\n\r\n  consumer.sources.forEach(function (file, index) {\r\n  \r\n    var uniquePath = isRemote ?\r\n      url.resolve(path.dirname(sourceFile), file) :\r\n      path.relative(self.relativeTo, path.resolve(path.dirname(sourceFile), file));\r\n\r\n    sourcesMapping[uniquePath] = consumer.sourcesContent && consumer.sourcesContent[index];\r\n  });\r\n  self.sourcesContent[sourceFile] = sourcesMapping;\r\n  }catch(excep){}\r\n}\r\n\r\n\r\nAlthough i am able to produce the build but still waiting for proper solution.\r\n"}}
{"actor":{"display_login":"kamilshahzad"}}