Skip to content
New issue

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

[BUG] pnpm -r build-prod #40

Closed
Skwll opened this issue May 16, 2022 · 3 comments · Fixed by #41
Closed

[BUG] pnpm -r build-prod #40

Skwll opened this issue May 16, 2022 · 3 comments · Fixed by #41
Assignees
Labels
bug Something isn't working

Comments

@Skwll
Copy link

Skwll commented May 16, 2022

Seems like the pnpm -r build-prod command is failing due to some permission problems.
Output (shortened and replaced my username with ""):

fatal: [tipi]: FAILED! => {"changed": true, "cmd": "cd /home/<user>/runtipi/ansible && pnpm -r build-prod", "delta": "0:00:00.320980",
"end": "2022-05-16 19:54:50.623672", "msg": "non-zero return code", "rc": 1, "start": "2022-05-16 19:54:50.302692", "stderr":
"node:internal/fs/utils:345\n    throw err;\n    ^\n\nError: EACCES: permission denied, open '.pnpm-debug.log'\n ...", "Exit status 1"]}

OS: Ubuntu 20.04.4 LTS
(I've run the same cmd but with "sudo pnpm -r build-prod" and it worked)

@Skwll Skwll added the bug Something isn't working label May 16, 2022
@Skwll Skwll changed the title [BUG] [BUG] pnpm -r build-prod May 16, 2022
@meienberger
Copy link
Collaborator

Does your user have sudo permissions ? And is your user id 1000 ?
Can you try to delete the file .pnpm-debug.log in the directory packages/system-api ?

@meienberger meienberger linked a pull request May 17, 2022 that will close this issue
@Skwll
Copy link
Author

Skwll commented May 17, 2022

Does your user have sudo permissions ? And is your user id 1000 ? Can you try to delete the file .pnpm-debug.log in the directory packages/system-api ?

Yes, I do have sudo permissions and the user ID is 1000.
The directory packages/system-api doesn't have any such log file, so I can't delete it.

@meienberger
Copy link
Collaborator

Issue should be resolved with release 0.1.3 see how to update : #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants