running npm run getrobotpwd 192.168.x.x get the following errors
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'getrobotpwd',
1 verbose cli '192.168.20.36'
1 verbose cli ]
2 info using npm@6.14.14
3 info using node@v14.17.5
4 verbose stack Error: ENOENT: no such file or directory, open '/usr/local/lib/package.json'
5 verbose cwd /usr/local/lib/node_modules
6 verbose Linux 5.4.0-81-generic
7 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "getrobotpwd" "192.168.20.36"
8 verbose node v14.17.5
9 verbose npm v6.14.14
10 error code ENOENT
11 error syscall open
12 error path /usr/local/lib/package.json
13 error errno -2
14 error enoent ENOENT: no such file or directory, open '/usr/local/lib/package.json'
15 error enoent This is related to npm not being able to find a file.
16 verbose exit [ -2, true ]
Steps to Reproduce (for bugs)
Versions
Homebridge: homebridge --version
Node: node --version
Plugin:
homebridge --version
Initializing HAP-NodeJS v0.9.4...
1.3.4
node --version
v14.17.5
homebridge-roomba2 v1.2.0
Configuration
### Homebridge Log / Command Output
<!-- Paste relevant output between the two ``` lines below
- Remove any sensitive information, passwords, etc.
- If output is long:
- Please extract only the relevant portions if possible
- Consider creating a gist, etc
- However, please include the beginning of the log where the homebridge initialization happens if possible
-->
Expected Behavior
Current Behavior
running npm run getrobotpwd 192.168.x.x get the following errors
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli '/usr/local/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'run', 1 verbose cli 'getrobotpwd', 1 verbose cli '192.168.20.36' 1 verbose cli ] 2 info using npm@6.14.14 3 info using node@v14.17.5 4 verbose stack Error: ENOENT: no such file or directory, open '/usr/local/lib/package.json' 5 verbose cwd /usr/local/lib/node_modules 6 verbose Linux 5.4.0-81-generic 7 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "getrobotpwd" "192.168.20.36" 8 verbose node v14.17.5 9 verbose npm v6.14.14 10 error code ENOENT 11 error syscall open 12 error path /usr/local/lib/package.json 13 error errno -2 14 error enoent ENOENT: no such file or directory, open '/usr/local/lib/package.json' 15 error enoent This is related to npm not being able to find a file. 16 verbose exit [ -2, true ]
Steps to Reproduce (for bugs)
Versions
homebridge --version
node --version
homebridge --version
Initializing HAP-NodeJS v0.9.4... 1.3.4
node --version
v14.17.5 homebridge-roomba2 v1.2.0
Configuration