We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd: sudo npm install -g @johannlai/gptcli
sudo npm install -g @johannlai/gptcli
npm ERR! code 1 npm ERR! path /usr/local/node16/lib/node_modules/@johannlai/gptcli npm ERR! command failed npm ERR! command sh -c node scripts/createConfig.js npm ERR! node:fs:1349 npm ERR! handleErrorFromBinding(ctx); npm ERR! ^ npm ERR! npm ERR! Error: EACCES: permission denied, mkdir '/root/.config/gpt-cli' npm ERR! at Object.mkdirSync (node:fs:1349:3) npm ERR! at file:///usr/local/node16/lib/node_modules/@johannlai/gptcli/scripts/createConfig.js:12:6 npm ERR! at ModuleJob.run (node:internal/modules/esm/module_job:198:25) npm ERR! at async Promise.all (index 0) npm ERR! at async ESMLoader.import (node:internal/modules/esm/loader:385:24) npm ERR! at async loadESM (node:internal/process/esm_loader:88:5) npm ERR! at async handleMainPromise (node:internal/modules/run_main:61:12) { npm ERR! errno: -13, npm ERR! syscall: 'mkdir', npm ERR! code: 'EACCES', npm ERR! path: '/root/.config/gpt-cli' npm ERR! } npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-03-21T08_34_26_841Z-debug-0.log
The text was updated successfully, but these errors were encountered:
JohannLai
No branches or pull requests
cmd:
sudo npm install -g @johannlai/gptcli
The text was updated successfully, but these errors were encountered: