mbolotov / intellij-cypress

IntelliJ-Cypress plugin: https://plugins.jetbrains.com/plugin/13819-intellij-cypress Pro version: https://plugins.jetbrains.com/plugin/13987-cypress-support-pro
MIT License
35 stars 5 forks source link

Opening `/dev/tty` failed (6): Device not configured #11

Closed boskiv closed 4 years ago

boskiv commented 4 years ago

When I run a single test in webstorm I've got an error in output

Screen Shot 2020-06-09 at 11 01 57 PM

Did you see this before?

mbolotov commented 4 years ago

Hi Ivan! No, I did not see this before. Can you run any jest test? I think it uses the same logic for creating a terminal and so it should fail as well. As a workaround, you may try to disable "nodejs.console.use.terminal" property in the IDE registry: image

boskiv commented 4 years ago

That helps, I had it disabled

"Help | Find Action..." on the main menu;
Type "registry" and click "Registry..." found element;
Find nodejs.console.use.terminal key and enable it.
jamosonic commented 4 years ago

Fixed this on OSX, just had to add a single Node.js configuration (nothing special about it). https://www.jetbrains.com/help/idea/running-and-debugging-node-js.html#running

martineez commented 2 years ago

helped me to enable: "Help | Find Action..." on the main menu; Type "registry" and click "Registry..." found element; Find nodejs.test.run.configurations.use.terminal.console key and enable it.

KhizerRehan commented 11 months ago

Error: Opening /dev/tty failed (6): Device not configured:

I enabled both options as Jenkins doesn't have access to a terminal because it runs in a non-interactive environment.

🟢 Console Output Finished: SUCCESS

✅ Fixed By Enabling following option:

registry