Troubleshooting
Check out some troubles you might come across while setting up front-hub.
NPM hasn't permission to install CLI globally
When you try to install the FrontHub CLI globally and see an error similar to: NPM has no permission to install @resultadosdigitais/front-hub-cli globally
, you can fix the issue by installing the NVM (Node Version Manager) for more version control and access to Node.js.
Then run the script again:
curl -L https://front-hub.rdstation.com.br/install.sh | sudo bash
Now you can use the FrontHub CLI globally.
JFrog Authentication Error
When you try to install the some FrontHub modules and see an error similar to: error An unexpected error occurred: "https://registry.yarnpkg.com/@resultadosdigitais/front-hub-cli: Not found"
, you can fix it by following the instructions below:
- Delete the
.npmrc
file from your home directory. - Run the JFrog setup command in this section
- Follow the command instructions to complete the JFrog setup