Closed richierockskool closed 1 year ago
Please provide the full error log.
npm ERR! npm ERR! ENOTDIR: not a directory, rename '/Users/######/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/######/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w' npm ERR!
Please mkdir -p /Users/######/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway
and try again.
Hi Christian,
Here is the full the error when we try and install.
CMD: npm install -g @.***
npm ERR! code 236 npm ERR! git dep preparation failed npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/richjagger/.npm --prefer-offline=false --prefer-online=true --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! npm ERR! code ENOTDIR npm ERR! npm ERR! syscall rename npm ERR! npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! npm ERR! errno -20 npm ERR! npm ERR! ENOTDIR: not a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w' npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! npm ERR! /Users/richjagger/.npm/_logs/2023-05-20T12_23_56_030Z-debug-0.log
npm ERR! A complete log of this run can be found in: npm ERR! /Users/richjagger/.npm/_logs/2023-05-20T12_23_46_947Z-debug-0.log
Operation failed. Please review log for details.
So, given that the command run was npm
and the log does not mention gyp
, why open an issue in this repo?
Did you try the mkdir
suggestion above?
Yes, I did with the same result, I just can not get this error solved, I thought this was the route to take.
Where do I find the definitions or the explanation for "Code 236"?
Update: Thank you! Your previous method has shortened the error, still failing, but getting closer!
CMD: npm install -g homebridge-inkbird-wifi-gateway@1.0.9
npm ERR! code ENOENT npm ERR! path /usr/local/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway npm ERR! enoent ENOENT: Cannot cd into '/usr/local/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! /Users/richjagger/.npm/_logs/2023-05-20T15_44_26_911Z-debug-0.log
Operation failed. Please review log for details.
% npm doctor
% npm explain homebridge-inkbird-wifi-gateway
% npm explore homebridge-inkbird-wifi-gateway
I think we are getting very close...
npm doctor comes up with this...how do you add that $PATH?
Check Value Recommendation/Notes
npm ping ok
npm -v not ok Use npm v9.6.7
node -v ok current: v18.16.0, recommended: v18.16.0
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH not ok Error: Add /Users/richjagger/.npm-packages/bin to your $PATH
Perms check on cached files ok
Perms check on local node_modules ok
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
npm WARN verifyCachedFiles Content garbage-collected: 3 (506357 bytes)
npm WARN verifyCachedFiles Cache issues have been fixed
Verify cache contents ok verified 959 tarballs
npm ERR! Some problems found. See above for recommendations.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/richjagger/.npm/_logs/2023-05-20T16_02_41_910Z-debug-0.log
export PATH=~/.npm-packages/bin:$PATH
% npm upgrade --global npm
You should try asking questions to https://chat.openai.com
Sorry, I figured it out, before I could pull the comment...
Here is the latest from the npm doctor...
Check Value Recommendation/Notes
npm ping ok
npm -v ok current: v9.6.7, latest: v9.6.7
node -v ok current: v20.2.0, recommended: v20.2.0
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH ok /Users/richjagger/.npm-packages/bin
Perms check on cached files ok
Perms check on local node_modules ok
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
Verify cache contents ok verified 1386 tarballs
And still can not get past this?
npm install -g homebridge-inkbird-wifi-gateway Debugger attached. npm WARN tar ENOENT: Cannot cd into '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway' npm WARN tarball tarball data for homebridge-inkbird-wifi-gateway@git+ssh://git@github.com/richierockskool/homebridge-inkbird-wifi-gateway.git#f689c4a594eafe31c826c9c707615a86544ecf16 (null) seems to be corrupted. Trying again. npm WARN tar ENOENT: Cannot cd into '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway' npm WARN tarball tarball data for homebridge-inkbird-wifi-gateway@git+ssh://git@github.com/richierockskool/homebridge-inkbird-wifi-gateway.git#f689c4a594eafe31c826c9c707615a86544ecf16 (null) seems to be corrupted. Trying again. npm ERR! code ENOENT npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway npm ERR! enoent ENOENT: Cannot cd into '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
I think this is the issue?
undefined@undefined /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway
And back to this error
CMD: npm install -g homebridge-inkbird-wifi-gateway@1.0.9
npm ERR! code ENOENT npm ERR! path /usr/local/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway npm ERR! enoent ENOENT: Cannot cd into '/usr/local/lib/node_modules/homebridge-inkbird-wifi-gateway/node_modules/homebridge-inkbird-wifi-gateway' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
The latest new error:
npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w'
cd ~/.npm-packages/lib/node_modules
mv homebridge-inkbird-wifi-gateway_junk homebridge-inkbird-wifi-gateway_junk
touch homebridge-inkbird-wifi-gateway
That did this...
npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/Users/richjagger/.npm-packages/lib/node_modules/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
After everything it still comes back to this?
npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w'
Hi Christian,
no matter what I do I can not get out out of this loop…
npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w’
Please assist, or explain why...
Thank you,
On May 21, 2023, at 3:52 PM, Christian Clauss @.***> wrote:
cd /Users/richjagger/.npm-packages/lib/node_modules homebridge-inkbird-wifi-gateway_junk touch homebridge-inkbird-wifi-gateway — Reply to this email directly, view it on GitHub https://github.com/nodejs/node-gyp/issues/2852#issuecomment-1556274957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE7PVXRAI7LELYRBSQYXMLXHJW6FANCNFSM6AAAAAAYIO3WNY. You are receiving this because you authored the thread.
And here is the Doctor…
npm ping ok
npm -v ok current: v9.6.7, latest: v9.6.7
node -v ok current: v18.16.0, recommended: v18.16.0
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH ok /Users/richjagger/.npm-packages/bin
Perms check on cached files ok
npm WARN checkFilesPermission should be owner of /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build
npm ERR! checkFilesPermission Missing permissions on /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build (expect: readable, writable)
Perms check on local node_modules not ok Check the permissions of files in /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules (should be owned by current user)
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
Verify cache contents ok verified 1351 tarballs
npm ERR! Some problems found. See above for recommendations.
On May 21, 2023, at 3:52 PM, Christian Clauss @.***> wrote:
cd /Users/richjagger/.npm-packages/lib/node_modules homebridge-inkbird-wifi-gateway_junk touch homebridge-inkbird-wifi-gateway — Reply to this email directly, view it on GitHub https://github.com/nodejs/node-gyp/issues/2852#issuecomment-1556274957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE7PVXRAI7LELYRBSQYXMLXHJW6FANCNFSM6AAAAAAYIO3WNY. You are receiving this because you authored the thread.
Go to https://chat.openai.com and ask these two questions:
On Windows, how can I set richjagger to be the owner of the directory /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules and all files inside that directory?
On Windows, how can I set the directory /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build to be readable and writable?
I am on a mac, but I will try, I could not get into that web site when I tried last time.
% chown --help
% chown -R richjagger /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules
% chmod --help
% chmod -R +rw /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build
Hi Christian,
That did not do it either, still the error messages.
On May 25, 2023, at 8:29 AM, Christian Clauss @.***> wrote:
% chown --help
chown: illegal option -- - usage: chown [-fhnvx] [-R [-H | -L | -P]] owner[:group] file ... chown [-fhnvx] [-R [-H | -L | -P]] :group file ... % chown -R richjagger /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules
chown -R richjagger /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/gyp-mac-tool: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Makefile: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/fse.target.mk: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/.target.mk: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/obj.target/fse/fsevents.o: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/obj.target/fse: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/obj.target: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.node: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release/obj.target: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release/.node.d: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release/fse.node.d: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps/Release: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/.deps: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release/fse.node: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/Release: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/config.gypi: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/binding.Makefile: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/node_gyp_bins/python3: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build/node_gyp_bins: Operation not permitted chown: /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build: Operation not permitted % chmod --help
chmod: illegal option -- - usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [i][# [ n]]] mode|entry file ... chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ... % chmod -R +rw /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build
— Reply to this email directly, view it on GitHub https://github.com/nodejs/node-gyp/issues/2852#issuecomment-1562822184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE7PVS3N2HXGPGKLFLCASLXH5GBNANCNFSM6AAAAAAYIO3WNY. You are receiving this because you authored the thread.
% chown help % sudo chown -R richjagger /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules
% chmod help % sudo chmod -R +rw /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build
Still the same error loop
npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w'
% npm doctor
Npm Doctor gives me this:
Check Value Recommendation/Notes
npm ping ok
npm -v not ok Use npm v9.6.7
node -v ok current: v18.16.0, recommended: v18.16.0
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH not ok Error: Add /Users/richjagger/.npm-packages/bin to your $PATH
Perms check on cached files ok
Perms check on local node_modules ok
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
Verify cache contents ok verified 1394 tarballs
npm ERR! Some problems found. See above for recommendations.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/richjagger/.npm/_logs/2023-05-25T14_18_30_416Z-debug-0.log
Until I run export PATH=~/.npm-packages/bin:$PATH
Then Npm Doctor gives me this:
Check Value Recommendation/Notes
npm ping ok
npm -v ok current: v9.6.7, latest: v9.6.7
node -v ok current: v18.16.0, recommended: v18.16.0
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH ok /Users/richjagger/.npm-packages/bin
Perms check on cached files ok
Perms check on local node_modules ok
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
Verify cache contents ok verified 1394 tarballs
Then I run...
npm install -g homebridge-inkbird-wifi-gateway@1.0.9 npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w'
If I install with out " -g" I get this - no error , just Npm Warn which I have addressed and can not get rid of either,
npm install homebridge-inkbird-wifi-gateway@1.0.9 npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
Go to https://chat.openai.com and ask these two questions:
- [ ]
On Windows, how can I set richjagger to be the owner of the directory /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules and all files inside that directory?
- [ ]
On Windows, how can I set the directory /Users/richjagger/Documents/GitHub/homebridge-inkbird-wifi-gateway/node_modules/.nodemon-xd0s1R7V/node_modules/fsevents/build to be readable and writable?
Openai will not let me open an account?
Hi Christian,
Still the same after everything we tried, I change many things, but still no joy. And, I can not even delete the Plugin from Homebridge…But, crazy enough it still loads..
npm ERR! code EISDIR npm ERR! syscall rename npm ERR! path /Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! dest /Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! errno -21 npm ERR! EISDIR: illegal operation on a directory, rename '/Users/richjagger/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/richjagger/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w’
If you can think of anything else to try,
Thank you,
Rich
On May 25, 2023, at 10:11 AM, Christian Clauss @.***> wrote:
% npm doctor
— Reply to this email directly, view it on GitHub https://github.com/nodejs/node-gyp/issues/2852#issuecomment-1562982901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE7PVSI657YR3PL5ZVR6KTXH5SC3ANCNFSM6AAAAAAYIO3WNY. You are receiving this because you authored the thread.
Let's continue this conversation at richierockskool/homebridge-inkbird-wifi-gateway#18
npm install -g homebridge-inkbird-wifi-gateway npm ERR! code 236 npm ERR! git dep preparation failed npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/######/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code ENOTDIR npm ERR! npm ERR! syscall rename npm ERR! npm ERR! path /Users/######/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway npm ERR! npm ERR! dest /Users/######/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w npm ERR! npm ERR! errno -20 npm ERR! npm ERR! ENOTDIR: not a directory, rename '/Users/######/.npm-packages/lib/node_modules/homebridge-inkbird-wifi-gateway' -> '/Users/######/.npm-packages/lib/node_modules/.homebridge-inkbird-wifi-gateway-3htFxu5w' npm ERR!
Mac OS Monterey 12.6.6