Skip to content

Instantly share code, notes, and snippets.

@chadoh
Last active September 16, 2019 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadoh/1c46963295720931ec4494b7585fdafa to your computer and use it in GitHub Desktop.
Save chadoh/1c46963295720931ec4494b7585fdafa to your computer and use it in GitHub Desktop.
Error running `web3/projects` branch (https://github.com/AutarkLabs/open-enterprise/pull/1222)
↓ Start a local Ethereum network [skipped]
→ Connected to the provided Ethereum network
✔ Check IPFS
❯ Publish app to APM
✔ Applying version bump (major)
❯ Deploy contract
⠋ Compile contracts
Deploy 'PlanningDummy' to network
Generate deployment artifacts
Determine contract address for version
Building frontend
Prepare files for publishing
Generate application artifact
Publish planning-kit.aragonpm.eth
Fetch published repo
Deploy Template
Create DAO
Open DAO
Compiling ./../discussions/contracts/DiscussionApp.sol...
Compiling ./contracts/PlanningDummy.sol...
Compiling ./contracts/PlanningKit.sol...
Compiling @aragon/apps-finance/contracts/Finance.sol...
Compiling @aragon/apps-shared-minime/contracts/ITokenController.sol...
Compiling @aragon/apps-shared-minime/contracts/MiniMeToken.sol...
Compiling @aragon/apps-token-manager/contracts/TokenManager.sol...
Compiling @aragon/apps-vault/contracts/Vault.sol...
Compiling @aragon/apps-voting/contracts/Voting.sol...
Compiling @aragon/os/contracts/acl/ACL.sol...
Compiling @aragon/os/contracts/acl/ACLSyntaxSugar.sol...
Compiling @aragon/os/contracts/acl/IACL.sol...
Compiling @aragon/os/contracts/acl/IACLOracle.sol...
Compiling @aragon/os/contracts/apm/APMNamehash.sol...
Compiling @aragon/os/contracts/apm/Repo.sol...
Compiling @aragon/os/contracts/apps/AppProxyBase.sol...
Compiling @aragon/os/contracts/apps/AppProxyPinned.sol...
Compiling @aragon/os/contracts/apps/AppProxyUpgradeable.sol...
Compiling @aragon/os/contracts/apps/AppStorage.sol...
Compiling @aragon/os/contracts/apps/AragonApp.sol...
Compiling @aragon/os/contracts/common/Autopetrified.sol...
Compiling @aragon/os/contracts/common/ConversionHelpers.sol...
Compiling @aragon/os/contracts/common/DelegateProxy.sol...
Compiling @aragon/os/contracts/common/DepositableDelegateProxy.sol...
Compiling @aragon/os/contracts/common/DepositableStorage.sol...
Compiling @aragon/os/contracts/common/EtherTokenConstant.sol...
Compiling @aragon/os/contracts/common/IForwarder.sol...
Compiling @aragon/os/contracts/common/IVaultRecoverable.sol...
Compiling @aragon/os/contracts/common/Initializable.sol...
Compiling @aragon/os/contracts/common/IsContract.sol...
Compiling @aragon/os/contracts/common/Petrifiable.sol...
Compiling @aragon/os/contracts/common/ReentrancyGuard.sol...
Compiling @aragon/os/contracts/common/SafeERC20.sol...
Compiling @aragon/os/contracts/common/TimeHelpers.sol...
Compiling @aragon/os/contracts/common/Uint256Helpers.sol...
Compiling @aragon/os/contracts/common/UnstructuredStorage.sol...
Compiling @aragon/os/contracts/common/VaultRecoverable.sol...
Compiling @aragon/os/contracts/evmscript/EVMScriptRegistry.sol...
Compiling @aragon/os/contracts/evmscript/EVMScriptRunner.sol...
Compiling @aragon/os/contracts/evmscript/IEVMScriptExecutor.sol...
Compiling @aragon/os/contracts/evmscript/IEVMScriptRegistry.sol...
Compiling @aragon/os/contracts/evmscript/ScriptHelpers.sol...
Compiling @aragon/os/contracts/evmscript/executors/BaseEVMScriptExecutor.sol...
Compiling @aragon/os/contracts/evmscript/executors/CallsScript.sol...
Compiling @aragon/os/contracts/factory/AppProxyFactory.sol...
Compiling @aragon/os/contracts/factory/DAOFactory.sol...
Compiling @aragon/os/contracts/factory/EVMScriptRegistryFactory.sol...
Compiling @aragon/os/contracts/kernel/IKernel.sol...
Compiling @aragon/os/contracts/kernel/Kernel.sol...
Compiling @aragon/os/contracts/kernel/KernelConstants.sol...
Compiling @aragon/os/contracts/kernel/KernelProxy.sol...
Compiling @aragon/os/contracts/kernel/KernelStorage.sol...
Compiling @aragon/os/contracts/lib/ens/AbstractENS.sol...
Compiling @aragon/os/contracts/lib/ens/ENS.sol...
Compiling @aragon/os/contracts/lib/ens/PublicResolver.sol...
Compiling @aragon/os/contracts/lib/math/SafeMath.sol...
Compiling @aragon/os/contracts/lib/math/SafeMath64.sol...
Compiling @aragon/os/contracts/lib/misc/ERCProxy.sol...
Compiling @aragon/os/contracts/lib/token/ERC20.sol...
Compiling @tps/apps-address-book/contracts/AddressBook.sol...
Compiling @tps/apps-allocations/contracts/Allocations.sol...
Compiling @tps/apps-dot-voting/contracts/DotVoting.sol...
Compiling @tps/apps-projects/contracts/Projects.sol...
Compiling @tps/apps-rewards/contracts/Rewards.sol...
Compiling @tps/test-helpers/contracts/common/ADynamicForwarder.sol...
Compiling @tps/test-helpers/contracts/common/IForwarder.sol...
Compiling @tps/test-helpers/contracts/evmscript/ScriptHelpers.sol...
Compiling @tps/test-helpers/contracts/lib/bounties/StandardBounties.sol...
Compiling @tps/test-helpers/contracts/lib/bounties/inherited/HumanStandardToken.sol...
Compiling @tps/test-helpers/contracts/lib/bounties/inherited/StandardToken.sol...
Compiling @tps/test-helpers/contracts/lib/bounties/inherited/Token.sol...
Compiling @tps/test-helpers/contracts/lib/misc/Migrations.sol...
Compilation warnings encountered:
@aragon/os/contracts/lib/ens/ENS.sol:22:48: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
if (records[node].owner != msg.sender) throw;
^---^
,@aragon/os/contracts/lib/ens/ENS.sol:29:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function ENS() public {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/ENS.sol:73:9: Warning: Use of the "var" keyword is deprecated.
var subnode = keccak256(node, label);
^---------^
,@aragon/os/contracts/lib/ens/PublicResolver.sol:45:44: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
if (ens.owner(node) != msg.sender) throw;
^---^
,@aragon/os/contracts/lib/ens/PublicResolver.sol:53:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function PublicResolver(AbstractENS ensAddr) public {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/PublicResolver.sol:146:9: Warning: Use of the "var" keyword is deprecated.
var record = records[node];
^--------^
,@aragon/os/contracts/lib/ens/PublicResolver.sol:166:53: Warning: "throw" is deprecated in favour of "revert()", "require()" and "assert()".
if (((contentType - 1) & contentType) != 0) throw;
^---^
,@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.
function Controlled() public { controller = msg.sender;}
^-------------------------------------------------------^
,@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.
function MiniMeToken(
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:195:9: Warning: Use of the "var" keyword is deprecated.
var previousBalanceFrom = balanceOfAt(_from, block.number);
^---------------------^
,@aragon/apps-shared-minime/contracts/MiniMeToken.sol:209:9: Warning: Use of the "var" keyword is deprecated.
var previousBalanceTo = balanceOfAt(_to, block.number);
^-------------------^
,@tps/test-helpers/contracts/lib/bounties/inherited/HumanStandardToken.sol:33:5: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function HumanStandardToken(
^ (Relevant source part starts here and spans across multiple lines).
,@tps/test-helpers/contracts/lib/bounties/StandardBounties.sol:152:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function StandardBounties(address _owner)
^ (Relevant source part starts here and spans across multiple lines).
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:51:35: Warning: This declaration shadows an existing declaration.
function post(string postCid, uint256 discussionThreadId) external {
^------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:37:5: The shadowed declaration is here:
uint256 discussionThreadId;
^------------------------^
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:52:9: Warning: This declaration shadows an existing declaration.
DiscussionPost storage post;
^-------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:51:5: The shadowed declaration is here:
function post(string postCid, uint256 discussionThreadId) external {
^ (Relevant source part starts here and spans across multiple lines).
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:69:35: Warning: This declaration shadows an existing declaration.
function hide(uint256 postId, uint256 discussionThreadId) external {
^------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:37:5: The shadowed declaration is here:
uint256 discussionThreadId;
^------------------------^
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:70:9: Warning: This declaration shadows an existing declaration.
DiscussionPost storage post = discussionThreadPosts[discussionThreadId][postId];
^-------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:51:5: The shadowed declaration is here:
function post(string postCid, uint256 discussionThreadId) external {
^ (Relevant source part starts here and spans across multiple lines).
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:82:60: Warning: This declaration shadows an existing declaration.
function revise(string revisedPostCid, uint256 postId, uint256 discussionThreadId) external {
^------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:37:5: The shadowed declaration is here:
uint256 discussionThreadId;
^------------------------^
,/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:83:9: Warning: This declaration shadows an existing declaration.
DiscussionPost storage post = discussionThreadPosts[discussionThreadId][postId];
^-------------------------^
/Users/chadoh/code/a/oe/apps/discussions/contracts/DiscussionApp.sol:51:5: The shadowed declaration is here:
function post(string postCid, uint256 discussionThreadId) external {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/ENS.sol:60:37: Warning: This declaration shadows an existing declaration.
function setOwner(bytes32 node, address owner) only_owner(node) public {
^-----------^
@aragon/os/contracts/lib/ens/ENS.sol:36:5: The shadowed declaration is here:
function owner(bytes32 node) public constant returns (address) {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/ENS.sol:72:59: Warning: This declaration shadows an existing declaration.
function setSubnodeOwner(bytes32 node, bytes32 label, address owner) only_owner(node) public {
^-----------^
@aragon/os/contracts/lib/ens/ENS.sol:36:5: The shadowed declaration is here:
function owner(bytes32 node) public constant returns (address) {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/ENS.sol:83:40: Warning: This declaration shadows an existing declaration.
function setResolver(bytes32 node, address resolver) only_owner(node) public {
^--------------^
@aragon/os/contracts/lib/ens/ENS.sol:43:5: The shadowed declaration is here:
function resolver(bytes32 node) public constant returns (address) {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/ENS.sol:93:35: Warning: This declaration shadows an existing declaration.
function setTTL(bytes32 node, uint64 ttl) only_owner(node) public {
^--------^
@aragon/os/contracts/lib/ens/ENS.sol:50:5: The shadowed declaration is here:
function ttl(bytes32 node) public constant returns (uint64) {
^ (Relevant source part starts here and spans across multiple lines).
,@aragon/os/contracts/lib/ens/PublicResolver.sol:87:36: Warning: This declaration shadows an existing declaration.
function setAddr(byt
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tps/test-kits-planning-suite@0.0.1 start:kit: `aragon run --template PlanningKit --template-init @ARAGON_ENS --client-version e08deb62080e17fe652fa83f60dc81a02c455c41`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @tps/test-kits-planning-suite@0.0.1 start:kit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chadoh/.npm/_logs/2019-09-16T19_37_07_589Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! planning-suite-monorepo@ start:kit: `cd apps/planning-suite-kit && npm run start:kit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the planning-suite-monorepo@ start:kit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chadoh/.npm/_logs/2019-09-16T19_37_07_621Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! planning-suite-monorepo@ start:dev: `DEV=true apps/shared/test-helpers/ganache-cli.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the planning-suite-monorepo@ start:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chadoh/.npm/_logs/2019-09-16T19_37_07_666Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/bin/node',
1 verbose cli '/usr/local/opt/asdf/installs/nodejs/10.11.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'start:dev' ]
2 info using npm@6.4.1
3 info using node@v10.11.0
4 verbose run-script [ 'prestart:dev', 'start:dev', 'poststart:dev' ]
5 info lifecycle planning-suite-monorepo@~prestart:dev: planning-suite-monorepo@
6 info lifecycle planning-suite-monorepo@~start:dev: planning-suite-monorepo@
7 warn lifecycle The node binary used for scripts is /usr/local/opt/asdf/shims/node but npm is using /usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
8 verbose lifecycle planning-suite-monorepo@~start:dev: unsafe-perm in lifecycle true
9 verbose lifecycle planning-suite-monorepo@~start:dev: PATH: /usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/chadoh/code/a/oe/node_modules/.bin:/Users/chadoh/.yarn/bin:/Users/chadoh/.cargo/bin:/usr/local/opt/asdf/shims:/usr/local/opt/asdf/bin:.gs/bin/:~/bin:/usr/local/sbin:/usr/local/share/npm/bin:/Users/chadoh/.yarn/bin:./node_modules/.bin:/Users/chadoh/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/chadoh/.yarn/bin:/Users/chadoh/.cargo/bin:.gs/bin/:~/bin:/usr/local/sbin:/usr/local/share/npm/bin:./node_modules/.bin
10 verbose lifecycle planning-suite-monorepo@~start:dev: CWD: /Users/chadoh/code/a/oe
11 silly lifecycle planning-suite-monorepo@~start:dev: Args: [ '-c', 'DEV=true apps/shared/test-helpers/ganache-cli.sh' ]
12 silly lifecycle planning-suite-monorepo@~start:dev: Returned: code: 1 signal: null
13 info lifecycle planning-suite-monorepo@~start:dev: Failed to exec start:dev script
14 verbose stack Error: planning-suite-monorepo@ start:dev: `DEV=true apps/shared/test-helpers/ganache-cli.sh`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
14 verbose stack at EventEmitter.emit (events.js:182:13)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
14 verbose stack at ChildProcess.emit (events.js:182:13)
14 verbose stack at maybeClose (internal/child_process.js:962:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
15 verbose pkgid planning-suite-monorepo@
16 verbose cwd /Users/chadoh/code/a/oe
17 verbose Darwin 18.7.0
18 verbose argv "/usr/local/Cellar/asdf/0.5.1/installs/nodejs/10.11.0/bin/node" "/usr/local/opt/asdf/installs/nodejs/10.11.0/bin/npm" "run" "start:dev"
19 verbose node v10.11.0
20 verbose npm v6.4.1
21 error code ELIFECYCLE
22 error errno 1
23 error planning-suite-monorepo@ start:dev: `DEV=true apps/shared/test-helpers/ganache-cli.sh`
23 error Exit status 1
24 error Failed at the planning-suite-monorepo@ start:dev script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment