{"action":"created","issue":{"url":"https://api.github.com/repos/aragon/aragon-cli/issues/146","repository_url":"https://api.github.com/repos/aragon/aragon-cli","labels_url":"https://api.github.com/repos/aragon/aragon-cli/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/aragon/aragon-cli/issues/146/comments","events_url":"https://api.github.com/repos/aragon/aragon-cli/issues/146/events","html_url":"https://github.com/aragon/aragon-cli/issues/146","id":334673385,"node_id":"MDU6SXNzdWUzMzQ2NzMzODU=","number":146,"title":"Error `Cannot find module 'web3-requestManager'` when doing `aragon run`","user":{"login":"jtremback","id":1335122,"node_id":"MDQ6VXNlcjEzMzUxMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1335122?v=4","gravatar_id":"","url":"https://api.github.com/users/jtremback","html_url":"https://github.com/jtremback","followers_url":"https://api.github.com/users/jtremback/followers","following_url":"https://api.github.com/users/jtremback/following{/other_user}","gists_url":"https://api.github.com/users/jtremback/gists{/gist_id}","starred_url":"https://api.github.com/users/jtremback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtremback/subscriptions","organizations_url":"https://api.github.com/users/jtremback/orgs","repos_url":"https://api.github.com/users/jtremback/repos","events_url":"https://api.github.com/users/jtremback/events{/privacy}","received_events_url":"https://api.github.com/users/jtremback/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T22:01:04Z","updated_at":"2018-06-21T23:01:31Z","closed_at":null,"author_association":"NONE","body":"This was after doing \r\n\r\n```\r\n$ npm i -g @aragon/cli\r\n$ aragon init my_app_name34.aragonpm.eth\r\n```\r\n\r\n```bash\r\n$ aragon run\r\n ✔ Start a local Ethereum network\r\n ✔ Check IPFS\r\n ❯ Publish app to APM\r\n   ✔ Deploy contract\r\n   ↓ Automatically bump version [skipped]\r\n     → Starting from initial version\r\n   ✔ Determine contract address for version\r\n   ✖ Building frontend\r\n     → Failed to build. See above output.\r\n     Prepare files for publishing\r\n     Generate application artifact\r\n     Publish my_app_name34.aragonpm.eth\r\n     Fetch published repo\r\n   Create DAO\r\n   Open DAO\r\n ✖ Command failed: yarn run build\r\nmodule.js:549\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'web3-requestManager'\r\n    at Function.Module._resolveFilename (module.js:547:15)\r\n    at Function.Module._load (module.js:474:25)\r\n    at Module.require (module.js:596:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/Users/jehan/work/src/github.com/althea-mesh/try_aragon/my_app_name34/node_modules/web3/packages/web3-core/src/index.js:26:22)\r\n    at Module._compile (module.js:652:30)\r\n    at Object.Module._extensions..js (module.js:663:10)\r\n    at Module.load (module.js:565:32)\r\n    at tryModuleLoad (module.js:505:12)\r\n    at Function.Module._load (module.js:497:3)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! app-name@1.0.0 compile: `aragon contracts compile`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the app-name@1.0.0 compile 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/jehan/.npm/_logs/2018-06-21T21_39_28_863Z-debug.log\r\nerror Command failed with exit code 1.\r\n\r\nyarn run v0.24.6\r\n$ npm run compile && npm run sync-assets && npm run build:app && npm run build:script \r\n\r\n> app-name@1.0.0 compile /Users/jehan/work/src/github.com/althea-mesh/try_aragon/my_app_name34\r\n> aragon contracts compile\r\n\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n\r\nmodule.js:549\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'web3-requestManager'\r\n    at Function.Module._resolveFilename (module.js:547:15)\r\n    at Function.Module._load (module.js:474:25)\r\n    at Module.require (module.js:596:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/Users/jehan/work/src/github.com/althea-mesh/try_aragon/my_app_name34/node_modules/web3/packages/web3-core/src/index.js:26:22)\r\n    at Module._compile (module.js:652:30)\r\n    at Object.Module._extensions..js (module.js:663:10)\r\n    at Module.load (module.js:565:32)\r\n    at tryModuleLoad (module.js:505:12)\r\n    at Function.Module._load (module.js:497:3)\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! app-name@1.0.0 compile: `aragon contracts compile`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the app-name@1.0.0 compile 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/jehan/.npm/_logs/2018-06-21T21_39_28_863Z-debug.log\r\nerror Command failed with exit code 1.\r\n\r\n\r\nFailed to build. See above output.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aragon/aragon-cli/issues/comments/399269822","html_url":"https://github.com/aragon/aragon-cli/issues/146#issuecomment-399269822","issue_url":"https://api.github.com/repos/aragon/aragon-cli/issues/146","id":399269822,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTI2OTgyMg==","user":{"login":"jtremback","id":1335122,"node_id":"MDQ6VXNlcjEzMzUxMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1335122?v=4","gravatar_id":"","url":"https://api.github.com/users/jtremback","html_url":"https://github.com/jtremback","followers_url":"https://api.github.com/users/jtremback/followers","following_url":"https://api.github.com/users/jtremback/following{/other_user}","gists_url":"https://api.github.com/users/jtremback/gists{/gist_id}","starred_url":"https://api.github.com/users/jtremback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtremback/subscriptions","organizations_url":"https://api.github.com/users/jtremback/orgs","repos_url":"https://api.github.com/users/jtremback/repos","events_url":"https://api.github.com/users/jtremback/events{/privacy}","received_events_url":"https://api.github.com/users/jtremback/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T23:01:31Z","updated_at":"2018-06-21T23:01:31Z","author_association":"NONE","body":"I fixed this by doing `npm i @aragon/client` to install it to the folder I was working in, and then using `yarn start` to run it.\r\n\r\n"}}
{"actor":{"display_login":"jtremback"}}