AragonBlack / fundraising

Fundraising apps suite for Aragon organizations
https://fundraising.aragon.black/
GNU Affero General Public License v3.0
75 stars 43 forks source link

npm install from fundraising monorepo failing #93

Closed chrishobcroft closed 5 years ago

chrishobcroft commented 5 years ago

Describe the bug

When following the install instructions in fundraising README.md, the install fails, reporting many different ERR! messages.

To Reproduce

Steps to reproduce the behavior:

  1. Get a clean Ubuntu 18.04.3 LTS server
  2. Install aragoncli, node, npm to the following versions:
    aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ aragon --version
    6.2.6
    aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ dao --version
    6.2.6
    aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ node --version
    v10.16.3
    aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ npm --version
    6.9.0
  3. Follow the install instructions in fundraising README commit 437604a: a. Install aragon client - SUCCESS
    git clone https://github.com/aragon/aragon.git
    cd aragon
    npm install

    b. Install Aragon Fundraising Monorepo - FAILURE

    git clone https://github.com/AragonBlack/fundraising.git
    cd fundraising
    npm install
  4. Observe the process failing. See below for full output.

Expected behavior

I expect the npm install process to succeed without error.

Screen dump

See below for a full stdout after running npm install on the Aragon Fundraising Monorepo:

aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ npm install

> husky@3.0.5 preuninstall /home/aragoncli/fundraising/node_modules/@aragon/cli/node_modules/husky
> node husky uninstall

husky > Uninstalling git hooks
husky > Done

> @ablack/fundraising@1.0.0 install /home/aragoncli/fundraising
> npm run bootstrap

> @ablack/fundraising@1.0.0 bootstrap /home/aragoncli/fundraising
> lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*

lerna notice cli v3.16.4
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna ERR! npm install exited 1 in '@ablack/fundraising'
lerna ERR! npm install stderr:
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated ipfs-api@26.1.2: ipfs-api has been renamed to ipfs-http-client, please update your package.json to get the latest version.
npm WARN deprecated truffle-hdwallet-provider@1.0.17: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated truffle-hdwallet-provider@0.0.3: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/object/flatten.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/web3-1cc70111/dist/web3-light.min.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/object/flatten.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/math/floor-10.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/math/floor-10.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/date/#/floor-day.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/date/#/floor-day.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/date/#/floor-month.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-4fa70a83/build/contracts/InitializableStorageMock.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/date/#/floor-month.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/date/#/floor-year.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-4fa70a83/build/contracts/InvalidBytesLengthConversionThrows.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/ethjs-unit-4c143b44/dist/ethjs-unit.min.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/date/#/floor-year.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/array/#/for-each-right.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/es5-ext-ab896fe8/test/array/#/for-each-right.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-ae84c4f8/build/contracts/VaultRecoverable.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/buffer.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/bufferCount.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/bufferTime.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-37a0c59a/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/bufferToggle.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-c49860f3/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-452da885/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-ae50d4b6/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-54579d31/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-160adcdc/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/os-b30bc8d5/build/contracts/IsContract.json'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/bufferWhen.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/util/canReportError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/util/canReportError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/util/canReportError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/add/operator/catch.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operator/catch.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm2015/internal/operators/catchError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/_esm5/internal/operators/catchError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/internal/operators/catchError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/rxjs-65b7e6e7/operators/catchError.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-f5feb952/build/cli.bundled.js.map'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/build/templates'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/scripts/geth-accounts.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/scripts/prereleaseVersion.js'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/scripts/test.sh'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/.npmignore'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios.js'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/build/templates'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/build/templates'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/build/templates'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/build/templates'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/scenarios'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, lstat '/home/aragoncli/fundraising/node_modules/.staging/truffle-2b856b00/test/sources'
npm WARN tar ENOENT: no such file or directory, open '/home/aragoncli/fundraising/node_modules/.staging/@aragon/aragen-413382ff/ipfs-cache/@tps/apps-allocations/app.74018cc1.js'
npm WARN eth-gas-reporter@0.2.11 requires a peer of @codechecks/client@^0.1.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOMEM
npm ERR! errno ENOMEM
npm ERR! syscall spawn
npm ERR! spawn ENOMEM

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/aragoncli/.npm/_logs/2019-09-11T14_17_09_721Z-debug.log

lerna ERR! npm install exited 1 in '@ablack/fundraising'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 bootstrap: `lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 bootstrap 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!     /home/aragoncli/.npm/_logs/2019-09-11T14_17_10_087Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 install: `npm run bootstrap`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 install 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!     /home/aragoncli/.npm/_logs/2019-09-11T14_17_10_169Z-debug.log

Desktop (please complete the following information):

osarrouy commented 5 years ago

Hey !

Thanks for the report. This is a weird behavior, indeed. Unfortunately we can't reproduce cause none of us use Ubuntu ...

Could you try by uninstalling @aragon/cli globally, re-running a clean monorepo npm install and re-installing @aragon/cli globally ?

If we don't manage to fix it i'll come up with an Ubuntu VM to test it myself.

arseneeth commented 5 years ago

For me I was running into similar issue on Elementary OS and I solved it by deleting aragon from ~/.aragon and deleting aragon binary which I found with which aragon, then I reinstalled it with the command npm install --global @aragon/cli

Hope it will help

deamme commented 5 years ago

Look here https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219. Hope it helps.

osarrouy commented 5 years ago

@chrishobcroft Let us know if it works for you to see whether we close this issue or keep it open for now.

chrishobcroft commented 5 years ago

For me I was running into similar issue on Elementary OS and I solved it by deleting aragon from ~/.aragon and deleting aragon binary which I found with which aragon, then I reinstalled it with the command npm install --global @aragon/cli

@arsenyjin I did as you said and deleted ~/.aragon and the aragon binary found using which aragon, and then installed using npm install --global @aragon/cli.

I then tried npm install again from the fundraising folder... it also fails, but now with a different error, something about node node-scrypt-preinstall.js:

aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ npm install

> @ablack/fundraising@1.0.0 install /home/aragoncli/fundraising
> npm run bootstrap

> @ablack/fundraising@1.0.0 bootstrap /home/aragoncli/fundraising
> lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*

lerna notice cli v3.16.4
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna ERR! npm install exited 1 in '@ablack/fundraising'
lerna ERR! npm install stdout:

> scrypt@6.0.3 preinstall /home/aragoncli/fundraising/node_modules/scrypt
> node node-scrypt-preinstall.js

lerna ERR! npm install stderr:
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated ipfs-api@26.1.2: ipfs-api has been renamed to ipfs-http-client, please update your package.json to get the latest version.
npm WARN deprecated truffle-hdwallet-provider@1.0.17: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated truffle-hdwallet-provider@0.0.3: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar

lerna ERR! npm install exited 1 in '@ablack/fundraising'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 bootstrap: `lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 bootstrap 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!     /home/aragoncli/.npm/_logs/2019-09-12T18_49_26_763Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 install: `npm run bootstrap`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 install 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!     /home/aragoncli/.npm/_logs/2019-09-12T18_49_26_790Z-debug.log
arseneeth commented 5 years ago

@chrishobcroft I highly recommend to take a look at the response in https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219

osarrouy commented 5 years ago

Marking as closed for now. Feel free to reopen is you still have the issue.

Leocn commented 4 years ago

For me I was running into similar issue on Elementary OS and I solved it by deleting aragon from ~/.aragon and deleting aragon binary which I found with which aragon, then I reinstalled it with the command npm install --global @aragon/cli

@arsenyjin I did as you said and deleted ~/.aragon and the aragon binary found using which aragon, and then installed using npm install --global @aragon/cli.

I then tried npm install again from the fundraising folder... it also fails, but now with a different error, something about node node-scrypt-preinstall.js:

aragoncli@chrishobcroft-aragoncli-0:~/fundraising$ npm install

> @ablack/fundraising@1.0.0 install /home/aragoncli/fundraising
> npm run bootstrap

> @ablack/fundraising@1.0.0 bootstrap /home/aragoncli/fundraising
> lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*

lerna notice cli v3.16.4
lerna info versioning independent
lerna info Bootstrapping 7 packages
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna ERR! npm install exited 1 in '@ablack/fundraising'
lerna ERR! npm install stdout:

> scrypt@6.0.3 preinstall /home/aragoncli/fundraising/node_modules/scrypt
> node node-scrypt-preinstall.js

lerna ERR! npm install stderr:
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated ipfs-api@26.1.2: ipfs-api has been renamed to ipfs-http-client, please update your package.json to get the latest version.
npm WARN deprecated truffle-hdwallet-provider@1.0.17: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated truffle-hdwallet-provider@0.0.3: WARNING: This package has been renamed to @truffle/hdwallet-provider.
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar

lerna ERR! npm install exited 1 in '@ablack/fundraising'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 bootstrap: `lerna bootstrap --hoist --nohoist=@aragon/os --nohoist=@aragon/apps-* --nohoist=@aragon/ppf-contracts --nohoist=@aragon/test-helpers --nohoist=@aragon/templates-shared --nohoist=@ablack/fundraising-*`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 bootstrap 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!     /home/aragoncli/.npm/_logs/2019-09-12T18_49_26_763Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ablack/fundraising@1.0.0 install: `npm run bootstrap`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ablack/fundraising@1.0.0 install 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!     /home/aragoncli/.npm/_logs/2019-09-12T18_49_26_790Z-debug.log

hello how you solve this error ?

arseneeth commented 4 years ago

@Leocn if I recall correctly instruction from https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219 worked for me