-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
npm ERR! code 236 npm ERR! git dep preparation failed #2852
Comments
Please provide the full error log.
Please |
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 Did you try the |
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! CMD: npm install -g homebridge-inkbird-wifi-gateway@1.0.9 npm ERR! code ENOENT npm ERR! A complete log of this run can be found in: Operation failed. Please review log for details. |
% |
I think we are getting very close... npm doctor comes up with this...how do you add that $PATH? Check Value Recommendation/Notes npm ERR! A complete log of this run can be found in: |
|
% 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 |
And still can not get past this? npm install -g homebridge-inkbird-wifi-gateway |
I think this is the issue? undefined@undefined And back to this error CMD: npm install -g homebridge-inkbird-wifi-gateway@1.0.9 npm ERR! code ENOENT |
The latest new error: npm ERR! code EISDIR |
|
That did this... npm ERR! code ENOENT |
After everything it still comes back to this? npm ERR! code EISDIR |
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 <#2852 (comment)>, 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 <#2852 (comment)>, 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:
|
I am on a mac, but I will try, I could not get into that web site when I tried last time. |
% % |
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 <#2852 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJE7PVS3N2HXGPGKLFLCASLXH5GBNANCNFSM6AAAAAAYIO3WNY>.
You are receiving this because you authored the thread.
|
% chown help % chmod help |
Still the same error loop npm ERR! code EISDIR |
% |
Npm Doctor gives me this: Check Value Recommendation/Notes npm ERR! A complete log of this run can be found in: Until I run Then Npm Doctor gives me this: Check Value Recommendation/Notes Then I run... npm install -g homebridge-inkbird-wifi-gateway@1.0.9 |
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 |
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 <#2852 (comment)>, 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
The text was updated successfully, but these errors were encountered: