docs: finalize error log

This commit is contained in:
Hieu Ho 2024-01-16 22:18:24 +07:00
parent 6353a6eba3
commit 7df33c2021

View File

@ -20,12 +20,12 @@ keywords:
When you run Jan, you may encounter the following error:
```bash
Uncaught (in promise) Error: Error invoking layout-480796bff433a3a3.js:538 remote method `installExtension`:
Uncaught (in promise) Error: Error invoking layout-480796bff433a3a3.js:538 remote method 'installExtension':
Error Package /Applications/Jan.app/Contents/Resources/app.asar.unpacked/pre-install/janhq-assistant-extension-1.0.0.tgz does not contain a valid manifest:
Error EACCES: permission denied, mkdtemp `/Users/username/.npm/_cacache/tmp/ueCMn4'
Error EACCES: permission denied, mkdtemp '/Users/username/.npm/_cacache/tmp/ueCMn4'
```
This error indicates a permission issue during the installation process. To fix this, you can run the following command to change ownership of the `~/.npm` directory to the current user:
This error indicates a permission issue during the installation process. To fix this issue, you can run the following command to change ownership of the `~/.npm` directory to the current user:
```bash
sudo chown -R $(whoami) ~/.npm