{"action":"created","issue":{"url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/17","repository_url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate","labels_url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/17/comments","events_url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/17/events","html_url":"https://github.com/aragon/aragon-react-kit-boilerplate/issues/17","id":379520101,"node_id":"MDU6SXNzdWUzNzk1MjAxMDE=","number":17,"title":"Error trying to run: npm run start:aragon:http","user":{"login":"lismore","id":1145888,"node_id":"MDQ6VXNlcjExNDU4ODg=","avatar_url":"https://avatars2.githubusercontent.com/u/1145888?v=4","gravatar_id":"","url":"https://api.github.com/users/lismore","html_url":"https://github.com/lismore","followers_url":"https://api.github.com/users/lismore/followers","following_url":"https://api.github.com/users/lismore/following{/other_user}","gists_url":"https://api.github.com/users/lismore/gists{/gist_id}","starred_url":"https://api.github.com/users/lismore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lismore/subscriptions","organizations_url":"https://api.github.com/users/lismore/orgs","repos_url":"https://api.github.com/users/lismore/repos","events_url":"https://api.github.com/users/lismore/events{/privacy}","received_events_url":"https://api.github.com/users/lismore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-11T12:54:37Z","updated_at":"2018-11-11T13:02:35Z","closed_at":null,"author_association":"NONE","body":"I forked and downloaded the aragon-boilerplate repo.\r\n\r\ndid an npm install and then followed the instructions in the readme file.\r\n\r\n$ npm run start:app | works fine\r\n$ npm run start:aragon:http | fails \r\n\r\nError \r\n\r\n```\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! fundraisingapp@1.0.0 start:aragon:http: `aragon run --http localhost:8001 --http-served-from ./dist`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the fundraisingapp@1.0.0 start:aragon:http script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /Users/lismore/.npm/_logs/2018-11-11T12_39_53_249Z-debug.log\r\n```\r\n\r\nThe full output of the complete log file is here\r\n\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/Cellar/node/11.1.0/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'run',\r\n1 verbose cli   'start:aragon:http' ]\r\n2 info using npm@6.4.1\r\n3 info using node@v11.1.0\r\n4 verbose run-script [ 'prestart:aragon:http',\r\n4 verbose run-script   'start:aragon:http',\r\n4 verbose run-script   'poststart:aragon:http' ]\r\n5 info lifecycle fundraisingapp@1.0.0~prestart:aragon:http: fundraisingapp@1.0.0\r\n6 info lifecycle fundraisingapp@1.0.0~start:aragon:http: fundraisingapp@1.0.0\r\n7 verbose lifecycle fundraisingapp@1.0.0~start:aragon:http: unsafe-perm in lifecycle true\r\n8 verbose lifecycle fundraisingapp@1.0.0~start:aragon:http: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/.bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/share/dotnet:~/.dotnet/tools\r\n9 verbose lifecycle fundraisingapp@1.0.0~start:aragon:http: CWD: /Users/lismore/Documents/GitHub/aragon-fundraising-application\r\n10 silly lifecycle fundraisingapp@1.0.0~start:aragon:http: Args: [ '-c',\r\n10 silly lifecycle   'aragon run --http localhost:8001 --http-served-from ./dist' ]\r\n11 silly lifecycle fundraisingapp@1.0.0~start:aragon:http: Returned: code: 1  signal: null\r\n12 info lifecycle fundraisingapp@1.0.0~start:aragon:http: Failed to exec start:aragon:http script\r\n13 verbose stack Error: fundraisingapp@1.0.0 start:aragon:http: `aragon run --http localhost:8001 --http-served-from ./dist`\r\n13 verbose stack Exit status 1\r\n13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)\r\n13 verbose stack     at EventEmitter.emit (events.js:182:13)\r\n13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)\r\n13 verbose stack     at ChildProcess.emit (events.js:182:13)\r\n13 verbose stack     at maybeClose (internal/child_process.js:970:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)\r\n14 verbose pkgid fundraisingapp@1.0.0\r\n15 verbose cwd /Users/lismore/Documents/GitHub/aragon-fundraising-application\r\n16 verbose Darwin 18.2.0\r\n17 verbose argv \"/usr/local/Cellar/node/11.1.0/bin/node\" \"/usr/local/bin/npm\" \"run\" \"start:aragon:http\"\r\n18 verbose node v11.1.0\r\n19 verbose npm  v6.4.1\r\n20 error code ELIFECYCLE\r\n21 error errno 1\r\n22 error fundraisingapp@1.0.0 start:aragon:http: `aragon run --http localhost:8001 --http-served-from ./dist`\r\n22 error Exit status 1\r\n23 error Failed at the fundraisingapp@1.0.0 start:aragon:http script.\r\n23 error This is probably not a problem with npm. There is likely additional logging output above.\r\n24 verbose exit [ 1, true ]\r\n```\r\n\r\nAlso relevant I notice lots of warnings\r\n\r\n<img width=\"1043\" alt=\"screenshot 2018-11-11 at 12 46 20\" src=\"https://user-images.githubusercontent.com/1145888/48313128-dd525c80-e5af-11e8-93c5-479def63480f.png\">\r\n\r\nsome additional info to help troubleshoot this,\r\n\r\nmacOS Mojave \r\nnode v11.1.0\r\nnpm 6.4.1\r\nsolc@0.4.25\r\n\r\nadditional output \r\n\r\n```\r\nCompilation warnings encountered:\r\n\r\n/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:20:48: Warning: \"throw\" is deprecated in favour of \"revert()\", \"require()\" and \"assert()\".\r\n        if (records[node].owner != msg.sender) throw;\r\n                                               ^---^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:27:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function ENS() public {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:71:9: Warning: Use of the \"var\" keyword is deprecated.\r\n        var subnode = keccak256(node, label);\r\n        ^---------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/PublicResolver.sol:43:44:Warning: \"throw\" is deprecated in favour of \"revert()\", \"require()\" and \"assert()\".\r\n        if (ens.owner(node) != msg.sender) throw;\r\n                                           ^---^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/PublicResolver.sol:51:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function PublicResolver(AbstractENS ensAddr) public {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/PublicResolver.sol:144:9:Warning: Use of the \"var\" keyword is deprecated.\r\n        var record = records[node];\r\n        ^--------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/PublicResolver.sol:164:53: Warning: \"throw\" is deprecated in favour of \"revert()\", \"require()\" and \"assert()\".\r\n        if (((contentType - 1) & contentType) != 0) throw;\r\n                                                    ^---^\r\n,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:37:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function Controlled()  public { controller = msg.sender;}\r\n    ^-------------------------------------------------------^\r\n,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:123:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function MiniMeToken(\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:195:9: Warning: Use of the \"var\" keyword is deprecated.\r\n        var previousBalanceFrom = balanceOfAt(_from, block.number);\r\n        ^---------------------^\r\n,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:209:9: Warning: Use of the \"var\" keyword is deprecated.\r\n        var previousBalanceTo = balanceOfAt(_to, block.number);\r\n        ^-------------------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/apps-shared-minime/contracts/MiniMeToken.sol:37:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function Controlled()  public { controller = msg.sender;}\r\n    ^-------------------------------------------------------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/apps-shared-minime/contracts/MiniMeToken.sol:123:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function MiniMeToken(\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/apps-shared-minime/contracts/MiniMeToken.sol:195:9: Warning: Use of the \"var\" keyword is deprecated.\r\n        var previousBalanceFrom = balanceOfAt(_from, block.number);\r\n        ^---------------------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/apps-shared-minime/contracts/MiniMeToken.sol:209:9: Warning: Use of the \"var\" keyword is deprecated.\r\n        var previousBalanceTo = balanceOfAt(_to, block.number);\r\n        ^-------------------^\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/contracts/Kit.sol:22:5: Warning: Defining constructors as functionswith the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function KitBase(DAOFactory _fac, ENS _ens) public {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/contracts/Kit.sol:48:5: Warning: Defining constructors as functionswith the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n    function Kit(ENS ens) KitBase(DAOFactory(0), ens) public{\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/contracts/misc/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use \"constructor(...) { ... }\" instead.\r\n  function Migrations() {\r\n  ^ (Relevant source part starts here and spans across multiple lines).\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:58:37: Warning: This declaration shadows an existing declaration.\r\n    function setOwner(bytes32 node, address owner) only_owner(node) public {\r\n                                    ^-----------^\r\n/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:34:5: The shadoweddeclaration is here:\r\n    function owner(bytes32 node) public constant returns (address) {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:70:59: Warning: This declaration shadows an existing declaration.\r\n    function setSubnodeOwner(bytes32 node, bytes32 label, address owner) only_owner(node) public {\r\n                                                          ^-----------^\r\n/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:34:5: The shadoweddeclaration is here:\r\n    function owner(bytes32 node) public constant returns (address) {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:81:40: Warning: This declaration shadows an existing declaration.\r\n    function setResolver(bytes32 node, address resolver) only_owner(node) public {\r\n                                       ^--------------^\r\n/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:41:5: The shadoweddeclaration is here:\r\n    function resolver(bytes32 node) public constant returns (address) {\r\n    ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n,/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:91:35: Warning: This declaration shadows an existing declaration.\r\n    function setTTL(bytes32 node, uint64 ttl) only_owner(node) public {\r\n                                  ^--------^\r\n/Users/lismore/Documents/GitHub/aragon-fundraising-application/node_modules/@aragon/os/contracts/lib/ens/ENS.sol:48:5: The shadoweddeclaration is here:\r\n    function ttl(bytes32 node) public constant returns (uint64) {\r\n    ^ (Relevant source part starts here and spans across multiple lines)\r\n```"},"comment":{"url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/comments/437668481","html_url":"https://github.com/aragon/aragon-react-kit-boilerplate/issues/17#issuecomment-437668481","issue_url":"https://api.github.com/repos/aragon/aragon-react-kit-boilerplate/issues/17","id":437668481,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzY2ODQ4MQ==","user":{"login":"izqui","id":447328,"node_id":"MDQ6VXNlcjQ0NzMyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/447328?v=4","gravatar_id":"","url":"https://api.github.com/users/izqui","html_url":"https://github.com/izqui","followers_url":"https://api.github.com/users/izqui/followers","following_url":"https://api.github.com/users/izqui/following{/other_user}","gists_url":"https://api.github.com/users/izqui/gists{/gist_id}","starred_url":"https://api.github.com/users/izqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izqui/subscriptions","organizations_url":"https://api.github.com/users/izqui/orgs","repos_url":"https://api.github.com/users/izqui/repos","events_url":"https://api.github.com/users/izqui/events{/privacy}","received_events_url":"https://api.github.com/users/izqui/received_events","type":"User","site_admin":false},"created_at":"2018-11-11T13:02:35Z","updated_at":"2018-11-11T13:02:35Z","author_association":"MEMBER","body":"Also the CLI works with truffle 4.1.14, which has solc 0.4.24. Try also compiling your contracts directly with the CLI doing `aragon contracts compile --all` "}}
{"actor":{"display_login":"izqui"}}