konsumer / konsumer/pciinfo

Not working on windows

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

See also #1

```
if (error) throw error;
^

Error: Command failed: c:\tests\node_modules\pciinfo\bin\win32\lspci.exe -vv -mm -nn -i 'c:\tests\node_modules\pciinfo\bin\pci.ids.gz'
pcilib: i386-io-windows: IO library initialization failed. Try running from an elevated command prompt.

lspci: Cannot find any working access method.

at ChildProcess.exithandler (child_process.js:289:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
````

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the command shown for bin/win32/lspci.exe on Windows, including the reported elevated-command-prompt condition, and inspect how pciinfo invokes it. Done means the Windows command has a working PCI access method and pciinfo completes without the shown initialization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.