From 6353a6eba3f767fa0e896cb26609859045b669d6 Mon Sep 17 00:00:00 2001 From: Hieu Ho <150573299+hieu-jan@users.noreply.github.com> Date: Tue, 16 Jan 2024 21:11:35 +0700 Subject: [PATCH 1/2] docs: create 05-permission-denied --- .../05-permission-denied.mdx | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/docs/guides/08-troubleshooting/05-permission-denied.mdx diff --git a/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx b/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx new file mode 100644 index 0000000000..5fed266dbc --- /dev/null +++ b/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx @@ -0,0 +1,32 @@ +--- +title: Permission Denied +slug: /troubleshooting/permission-denied +description: Permission denied. +keywords: + [ + Jan AI, + Jan, + ChatGPT alternative, + local AI, + private AI, + conversational AI, + no-subscription fee, + large language model, + troubleshooting, + permission denied, + ] +--- + +When you run Jan, you may encounter the following error: + +```bash +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' +``` + +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: + +```bash +sudo chown -R $(whoami) ~/.npm +``` From 7df33c2021dca200081b67853df1a501fc5fefc0 Mon Sep 17 00:00:00 2001 From: Hieu Ho <150573299+hieu-jan@users.noreply.github.com> Date: Tue, 16 Jan 2024 22:18:24 +0700 Subject: [PATCH 2/2] docs: finalize error log --- .../docs/guides/08-troubleshooting/05-permission-denied.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx b/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx index 5fed266dbc..07452d8227 100644 --- a/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx +++ b/docs/docs/guides/08-troubleshooting/05-permission-denied.mdx @@ -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