Operation failed with code 243
Berger1983-has opened this issue · 3 comments
Describe The Bug
USER: andreasberger
DIR: /usr/local
CMD: npm install -g homebridge-deebot@6.1.1
�[?25l
[..................] \ idealTree:lib: sill idealTree buildDeps
[..................] \ idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
[..................] / idealTree:lib: sill idealTree buildDeps
�[?25h
npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /Users/andreasberger/.npm/_cacache/tmp/fa790b1b
npm
ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 501:20 "/Users/andreasberger/.npm"
npm ERR! Log files were not written due to an error writing to the directory: /Users/andreasberger/.npm/_logs
npm ERR! You can rerun the command with --loglevel=verbose
to see the logs in your terminal
Operation failed with code 243.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.
Logs
No response
Config
No response
Homebridge UI Version
v4.55.1
Homebridge Version
Homebridge v1.7.0
Node.js Version
v20.12.0
Operating System
macOS
Environment Info
{"label"=>"Using hb-service?"}
Raspberry Pi Model
None
try deleting this folder /Users/andreasberger/.npm
and then trying this installation again.
I am having the same issue but am very new to any of this. Can you help me with error code 243?
I am having the same issue, any fix??