Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

186
Views
Global NPM package not installing

I have written a command line utility in JS which can be used to backup data to IPFS.

https://www.npmjs.com/package/ipfs-backup

When I am attempting to install it with npm install -g ipfs-backup I am getting an error which prevents the package from being installed.

The terminal is outputting the following:

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path C:\Users\jwhit\AppData\Roaming\npm\node_modules\ipfs-backup\node index.js
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\jwhit\AppData\Roaming\npm\node_modules\ipfs-backup\node index.js'
npm ERR! enoent This is related to npm not being able to find a file.
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The issue turned out to be that within my package.json file I had

"bin": {
    "ipfs-backup": "node index.js",
    "ipfs-restore": "node restore.js"
}

instead of

"bin": {
    "ipfs-backup": "./index.js",
    "ipfs-restore": "./restore.js"
}

It installs and functions correctly now.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!