{"action":"created","issue":{"url":"https://api.github.com/repos/hyperledger/composer/issues/1156","repository_url":"https://api.github.com/repos/hyperledger/composer","labels_url":"https://api.github.com/repos/hyperledger/composer/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/composer/issues/1156/comments","events_url":"https://api.github.com/repos/hyperledger/composer/issues/1156/events","html_url":"https://github.com/hyperledger/composer/issues/1156","id":233218799,"number":1156,"title":"Testing of my-network is failing at license-check","user":{"login":"nehalshah50","id":6557815,"avatar_url":"https://avatars3.githubusercontent.com/u/6557815?v=3","gravatar_id":"","url":"https://api.github.com/users/nehalshah50","html_url":"https://github.com/nehalshah50","followers_url":"https://api.github.com/users/nehalshah50/followers","following_url":"https://api.github.com/users/nehalshah50/following{/other_user}","gists_url":"https://api.github.com/users/nehalshah50/gists{/gist_id}","starred_url":"https://api.github.com/users/nehalshah50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehalshah50/subscriptions","organizations_url":"https://api.github.com/users/nehalshah50/orgs","repos_url":"https://api.github.com/users/nehalshah50/repos","events_url":"https://api.github.com/users/nehalshah50/events{/privacy}","received_events_url":"https://api.github.com/users/nehalshah50/received_events","type":"User","site_admin":false},"labels":[{"id":527252486,"url":"https://api.github.com/repos/hyperledger/composer/labels/bug","name":"bug","color":"ee0701","default":true},{"id":541838617,"url":"https://api.github.com/repos/hyperledger/composer/labels/P1","name":"P1","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"davidkel","id":25582377,"avatar_url":"https://avatars2.githubusercontent.com/u/25582377?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkel","html_url":"https://github.com/davidkel","followers_url":"https://api.github.com/users/davidkel/followers","following_url":"https://api.github.com/users/davidkel/following{/other_user}","gists_url":"https://api.github.com/users/davidkel/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkel/subscriptions","organizations_url":"https://api.github.com/users/davidkel/orgs","repos_url":"https://api.github.com/users/davidkel/repos","events_url":"https://api.github.com/users/davidkel/events{/privacy}","received_events_url":"https://api.github.com/users/davidkel/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidkel","id":25582377,"avatar_url":"https://avatars2.githubusercontent.com/u/25582377?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkel","html_url":"https://github.com/davidkel","followers_url":"https://api.github.com/users/davidkel/followers","following_url":"https://api.github.com/users/davidkel/following{/other_user}","gists_url":"https://api.github.com/users/davidkel/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkel/subscriptions","organizations_url":"https://api.github.com/users/davidkel/orgs","repos_url":"https://api.github.com/users/davidkel/repos","events_url":"https://api.github.com/users/davidkel/events{/privacy}","received_events_url":"https://api.github.com/users/davidkel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-06-02T15:30:34Z","updated_at":"2017-06-06T05:56:14Z","closed_at":null,"body":"Today I am trying to set up my network using guide \r\n\r\n[https://hyperledger.github.io/composer/tutorials/developer-guide.html ]\r\n\r\nbut keep getting following error about license header. I checked the logic.js file and content is same as given in the instructions. Also it says the look at the log file produced but I never see any log files getting produced.....> my-network@0.0.1 pretest /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network\r\n> npm run lint\r\n\r\n\r\n> my-network@0.0.1 lint /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network\r\n> eslint .\r\n\r\n\r\n> my-network@0.0.1 postlint /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network\r\n> npm run licchk\r\n\r\n\r\n> my-network@0.0.1 licchk /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network\r\n> license-check\r\n\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nError: The following file doesn`t contain the license header /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/lib/logic.js\r\n    at error (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/gulp-license-check/index.js:140:54)\r\n    at checkHeaderFromBuffer (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/gulp-license-check/index.js:84:4)\r\n    at DestroyableTransform._transform (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/gulp-license-check/index.js:41:5)\r\n    at DestroyableTransform.Transform._read (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_transform.js:159:10)\r\n    at DestroyableTransform.Transform._write (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_transform.js:147:83)\r\n    at doWrite (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_writable.js:338:64)\r\n    at writeOrBuffer (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_writable.js:327:5)\r\n    at DestroyableTransform.Writable.write (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_writable.js:264:11)\r\n    at DestroyableTransform.ondata (/Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/node_modules/readable-stream/lib/_stream_readable.js:541:20)\r\n    at emitOne (events.js:96:13)\r\n    at DestroyableTransform.emit (events.js:188:7)\r\n\r\nnpm ERR! Darwin 16.6.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"licchk\"\r\nnpm ERR! node v6.10.3\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! my-network@0.0.1 licchk: `license-check`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the my-network@0.0.1 licchk script 'license-check'.\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 my-network package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     license-check\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs my-network\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls my-network\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!     /Users/nxshah5/Documents/Fabric/1.0/composer-sample-networks/packages/my-network/npm-debug.log\r\n\r\nnpm ERR! Darwin 16.6.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"lint\"\r\nnpm ERR! node v6.10.3\r\nnpm ERR! npm  v3.10.10\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! my-network@0.0.1 postlint: `npm run licchk`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the my-network@0.0.1 postlint script 'npm run licchk'.\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 my-network package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     npm run licchk\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs my-network\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls my-network\r\nnpm ERR! There is likely additional logging output above.\r\n\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: Composer 0.7.4\r\n* Environment name and version (MacOS, Chrome 57, node.js 6.10):"},"comment":{"url":"https://api.github.com/repos/hyperledger/composer/issues/comments/306389549","html_url":"https://github.com/hyperledger/composer/issues/1156#issuecomment-306389549","issue_url":"https://api.github.com/repos/hyperledger/composer/issues/1156","id":306389549,"user":{"login":"ramarahul","id":25386450,"avatar_url":"https://avatars2.githubusercontent.com/u/25386450?v=3","gravatar_id":"","url":"https://api.github.com/users/ramarahul","html_url":"https://github.com/ramarahul","followers_url":"https://api.github.com/users/ramarahul/followers","following_url":"https://api.github.com/users/ramarahul/following{/other_user}","gists_url":"https://api.github.com/users/ramarahul/gists{/gist_id}","starred_url":"https://api.github.com/users/ramarahul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramarahul/subscriptions","organizations_url":"https://api.github.com/users/ramarahul/orgs","repos_url":"https://api.github.com/users/ramarahul/repos","events_url":"https://api.github.com/users/ramarahul/events{/privacy}","received_events_url":"https://api.github.com/users/ramarahul/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T05:56:14Z","updated_at":"2017-06-06T05:56:14Z","body":"If you follow this link https://hyperledger.github.io/composer/unstable/tutorials/developer-guide.html , you will not get the error."}}
{"actor":{"display_login":"ramarahul"}}