trailofbits / eth-security-toolbox

A Docker container preconfigured with all of the Trail of Bits Ethereum security tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix npm/npx support from the docker

montyly opened this issue · comments

Task Description

npm install/ npx are not working correctly from the docker:

$ npx truffle@5.0.10 version
Error: EACCES: permission denied, mkdir '/home/ethsec/.npm/_npx'

It is the same for a npm install

Unhandled rejection Error: EACCES: permission denied, mkdir '/home/ethsec/.npm/_cacache'

We need to fix it. It is preventing Slither to run correctly with truffle: #9

Acceptance criteria

  • npx truffle@5.0.32 version can run from the docker
  • npm install can run from the docker
  • Issue #9 is fixed

Required Skills

  • Docker experience

Feel free to ask questions here, or join our slack (#ethereum)

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 50.0 DAI (50.0 USD @ $1.0/DAI) attached to it.

Issue Status: 1. Open 2. Cancelled


Work has been started.

These users each claimed they can complete the work by 2 weeks ago.
Please review their action plans below:

1) iamonuwa has been approved to start work.

Debug and fix this issue. ETA 1 hour

Learn more on the Gitcoin Issue Details page.

@montyly I keep getting
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/n/npm/npm_3.5.2-0ubuntu4_all.deb Undetermined Error [IP: 91.189.88.174 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? .

The fix is minor but I've been stuck here for a very long time now.

@iamonuwa Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@iamonuwa due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Issue Status: 1. Open 2. Cancelled


The funding of 50.0 DAI (50.0 USD @ $1.0/DAI) attached to this issue has been cancelled by the bounty submitter