Description
Installation fails with default nodejs package path.
It works fine after setting up a custom path in $HOME:
Create a directory for global installations:
Bash
mkdir ~/.npm-global
Configure npm to use the new directory path:
Bash
npm config set prefix '~/.npm-global'
Open (or create) your ~/.profile or ~/.bashrc file:
Bash
nano ~/.bashrc
Add this line to the very end of the file:
Bash
export PATH=~/.npm-global/bin:$PATH
Update your current terminal session:
Bash
source ~/.bashrc
Reproduction Steps
Delete nemoclaw installation
Run installer
Environment
Ubuntu 24.04
Default node package path
Debug Output
Logs
npm error code EACCES
npm error syscall symlink
npm error path ../../../home/xaver/.nemoclaw/source
npm error dest /usr/lib/node_modules/nemoclaw
npm error errno -13
npm error Error: EACCES: permission denied, symlink '../../../home/xaver/.nemoclaw/source' -> '/usr/lib/node_modules/nemoclaw'
npm error at async symlink (node:internal/fs/promises:999:10)
npm error at async /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:646:7
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:309:11)
npm error at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:121:5)
npm error at async Link.linkPkg (/usr/lib/node_modules/npm/lib/commands/link.js:148:5)
npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:208: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: 'symlink',
npm error path: '../../../home/xaver/.nemoclaw/source',
npm error dest: '/usr/lib/node_modules/nemoclaw'
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
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error A complete log of this run can be found in: /home/xaver/.npm/_logs/2026-03-21T08_33_32_106Z-debug-0.log
Checklist
Description
Installation fails with default nodejs package path.
It works fine after setting up a custom path in $HOME:
Create a directory for global installations:
Bash
mkdir ~/.npm-global
Configure npm to use the new directory path:
Bash
npm config set prefix '~/.npm-global'
Open (or create) your ~/.profile or ~/.bashrc file:
Bash
nano ~/.bashrc
Add this line to the very end of the file:
Bash
export PATH=~/.npm-global/bin:$PATH
Update your current terminal session:
Bash
source ~/.bashrc
Reproduction Steps
Delete nemoclaw installation
Run installer
Environment
Ubuntu 24.04
Default node package path
Debug Output
Logs
Checklist