Skip to content

Freebuff does not install in Ubuntu 24.04.4 LTS #836

Description

@mbennette68

Hello,

Freebuff does not install in Ubuntu 24.04.4 LTS using, npm install -g freebuff

npm install -g freebuff
 
npm error code EACCES
npm error syscall mkdir
npm error path /usr/lib/node_modules/freebuff
npm error errno -13
npm error Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/freebuff'
npm error at async mkdir (node:internal/fs/promises:858:10)
npm error at async /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:624:20
npm error at async Promise.allSettled (index 0)
npm error at async #reifyPackages (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:353:11)
npm error at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:139:7)
npm error at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:158:5)
npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:193:9)
npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'mkdir',
npm error path: '/usr/lib/node_modules/freebuff'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the permissions of the file and its containing directories, or try running the command again as root/Administrator.
npm error A complete log of this run can be found in: /home/user1/.npm/_logs/2026-07-02T05_33_56_941Z-debug-0.log

I then tried:

sudo npm install -g --allow-scripts=freebuff

npm error code ENOENT
npm error syscall open
npm error path /home/user1/Development/Apps/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/user1/Development/Apps/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-07-02T05_40_50_761Z-debug-0.log

I also tried:

cd /tmp && sudo npm install -g --allow-scripts=freebuff

npm error code ENOENT
npm error syscall open
npm error path /tmp/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/tmp/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-07-02T05_45_09_872Z-debug-0.lo

Nothing worked so I ended using:

npx freebuff

Any thoughts?

Thank you,
MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions