Troubleshooting Origami Build Tools
Different common issues encountered when using OBT organized by the different tasks.
Node is available in most package management repositories, and instructions are available in the Node install guide:
Fix npm permissions
npm should not require root access when installing packages. If you get an
EACCES error when installing a package globally, you'll need to fix npm's permissions:
Make a directory for global installations:
Configure npm to use the new directory path:
npm config set prefix '~/npm-global'
Open or create a ~/.bash_profile file and add this line:
Ubuntu Desktop note: Modify your
Zsh note: Modify your
~/.zshrcfile instead of
Back on the command line, update your system variables:
Test: Download a package globally without using sudo.
npm install -g origami-build-tools