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

process.stdout.getColorDepth is not a function #28

Open
gajus opened this issue Jun 1, 2018 · 1 comment
Open

process.stdout.getColorDepth is not a function #28

gajus opened this issue Jun 1, 2018 · 1 comment

Comments

@gajus
Copy link

gajus commented Jun 1, 2018

Getting a lot of these errors when using power-assert (without babel plugin) in ava tests:

Uncaught exception in test/normalizers/normalizeScraperVenueResults.js

/Users/gajus/Documents/dev/applaudience/cinema-data-scraper/node_modules/empower/index.js:33

TypeError: process.stdout.getColorDepth is not a function

isStackUnchanged (node_modules/empower/index.js:33:18)
empower (node_modules/empower/index.js:40:7)
applyEmpower (node_modules/power-assert/index.js:41:16)
customize (node_modules/power-assert/index.js:47:25)
Object.<anonymous> (node_modules/power-assert/index.js:64:21)
Module._compile (node_modules/pirates/lib/index.js:91:24)

✖ test/normalizers/normalizeScraperVenueResults.js exited with a non-zero exit code: 1

@travomic
Copy link

travomic commented Jun 18, 2018

I've found that my local tests fail on the same thing, unless I am running Node version 9.8 or below. After 9.9.0 was introduced, something in the internals seem to no longer support that getColorDepth function.

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

No branches or pull requests

2 participants