Closed chrishobcroft closed 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.
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
Look here https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219. Hope it helps.
@chrishobcroft Let us know if it works for you to see whether we close this issue or keep it open for now.
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 withwhich aragon
, then I reinstalled it with the commandnpm 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
@chrishobcroft I highly recommend to take a look at the response in https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219
Marking as closed for now. Feel free to reopen is you still have the issue.
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 withwhich aragon
, then I reinstalled it with the commandnpm install --global @aragon/cli
@arsenyjin I did as you said and deleted
~/.aragon
and thearagon
binary found usingwhich aragon
, and then installed usingnpm install --global @aragon/cli
.I then tried
npm install
again from thefundraising
folder... it also fails, but now with a different error, something aboutnode 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 ?
@Leocn if I recall correctly instruction from https://github.com/AragonBlack/fundraising/issues/95#issuecomment-530823219 worked for me
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:
437604a
: a. Installaragon
client - SUCCESSb. Install Aragon Fundraising Monorepo - FAILURE
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:Desktop (please complete the following information):