Closed jagpreetbatth closed 3 years ago
Uninstalled in terminal using following: npm uninstall homebidge-jlr-incontrol
reinstalled using following: npm install homebidge-jlr-incontrol
Got following errors:
(node:3091) ExperimentalWarning: The fs.promises API is experimental npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
added 55 packages, and audited 56 packages in 3s
2 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
Tried running as administrator using following: sudo npm install homebidge-jlr-incontrol
Got following response: (node:3090) ExperimentalWarning: The fs.promises API is experimental npm ERR! code EPERM npm ERR! syscall scandir npm ERR! path /Users/jXXXXXXXXX/.Trash npm ERR! errno -1 npm ERR! Error: EPERM: operation not permitted, scandir '/Users/XXXXXXXXXX.Trash' npm ERR! { [Error: EPERM: operation not permitted, scandir '/Users/jXXXXXXXXX/.Trash'] npm ERR! stack: npm ERR! "Error: EPERM: operation not permitted, scandir '/Users/jXXXXXXXX/.Trash'", npm ERR! errno: -1, npm ERR! code: 'EPERM', npm ERR! syscall: 'scandir', npm ERR! path: '/Users/jXXXXXXXXX/.Trash' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/jXXXXXXXXXX/.npm/_logs/2021-03-16T19_23_27_156Z-debug.log
Depreciated in favor of JLR-remote plugin
Keep getting this error code when trying to run home bridge on terminal:
No plugin was found for the accessory "Jaguar Land Rover InControl" in your config.json. Please make sure the corresponding plugin is installed correctly.
Installed in terminal in like this:
npm install homebridge-jlr-incontrol
showed:
(node:2797) ExperimentalWarning: The fs.promises API is experimental
up to date, audited 56 packages in 1s
2 packages are looking for funding run
npm fund
for detailsfound 0 vulnerabilities
json looks like this: { "bridge": { "name": "Homebridge", "username": "CD:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "description": "Homebridge", "accessories": [{ "accessory": "Jaguar Land Rover InControl", "name": "Rover", "vin": "SALWR2RK6*691", "username": "j***@gmail.com", "password": "D****5", "pin": ****, "deviceId": "69df52b-0c86-49eb-b115-de789fd4400d", "targetTemperature": 21, "disableEV": true } ], "platforms": [{ "platform": "SamsungTizen", "devices": [{ "name": "Master TV",
etc..
Cant get it to find the plugin??