Not working on mac osx
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
/usr/local/lib/node_modules/pciinfo/bin/pciinfo.js:25
if (error) throw error;
^
Error: Command failed: /usr/local/lib/node_modules/pciinfo/bin/darwin/lspci -vv -mm -nn -i '/usr/local/lib/node_modules/pciinfo/bin/pci.ids.gz'
lspci: Cannot find any working access method.
at ChildProcess.exithandler (child_process.js:297:12)
at ChildProcess.emit (events.js:188:13)
at maybeClose (internal/child_process.js:978:16)
at Socket.stream.socket.on (internal/child_process.js:395:11)
at Socket.emit (events.js:188:13)
at Pipe._handle.close (net.js:609:12)
```
**Calling above command line directly gives:**
```
DirectHW.kext not loaded.
lspci: Cannot find any working access method.
```
**Using sudo doesn't help either**
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with bin/pciinfo.js and the macOS executable at bin/darwin/lspci, then reproduce the reported failure on macOS, including the DirectHW.kext and sudo cases. Done means pciinfo can obtain PCI information on macOS or clearly reports the platform limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, macos
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100