Skip to content
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

Error: Unhandled rejection TypeError: expecting a function but got [object Undefined] #4

Open
smilingthax opened this issue Aug 5, 2020 · 0 comments · May be fixed by #5
Open

Error: Unhandled rejection TypeError: expecting a function but got [object Undefined] #4

smilingthax opened this issue Aug 5, 2020 · 0 comments · May be fixed by #5

Comments

@smilingthax
Copy link

I had to make the following changes to make edid-reader work on my machine:

In getLinuxSystemEdids():

//      return glob('/sys/devices/pci*/0000:*/drm/card*/card*/edid').map(function (edidFileName) {
      return glob('/sys/devices/pci*/0000:*/*/drm/card*/card*/edid').map(function (edidFileName) {

In scan():

//      return this.getSystemEdids().map(this.formatEdid).then(function (rawEdids) {
      return this.getSystemEdids().map(EdidReader.formatEdid).then(function (rawEdids) {
leMaik added a commit to TeamWertarbyte/node-edid-reader that referenced this issue Oct 20, 2020
@leMaik leMaik linked a pull request Oct 20, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant