Closed
Description
Version
Node v17.0.1
nut.js v2.0.1
Short overview
Trying to retrieve title of any window results in Seg Fault and no other information, program ends immediately.
Issue occurs on
- Virtual machine
- Docker container
- Dev/Host system
Detailed error description
Seg fault is occurring on Big Sur any time I attempt to find a window title, either through getWindows or getActiveWindow.
Steps to reproduce error
Run this script:
import { getActiveWindow } from '@nut-tree/nut-js';
(async () => {
const window = await getActiveWindow();
const title = await window.title;
console.log(title);
})();
Expected Result:
Terminal
Actual Result:
zsh: segmentation fault node index.js