@sdetweil Hi Sam, Many thanks for the suggestion - I followed your advice on that page. Here’s what happened halfway through:
from ../src/epoll.cc:11:
/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/20.0.1/include/node/v8-ma ybe.h:106:45: error: ‘is_lvalue_reference_v’ is not a member of ‘std’; did you mean ‘is_lvalue_ reference’?
106 | template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
| ^~~~~~~~~~~~~~~~~~~~~
| is_lvalue_reference
/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/20.0.1/include/node/v8-ma ybe.h:106:66: warning: logical not is only applied to the left hand side of comparison [-Wlogic al-not-parentheses]
106 | template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
| ^
/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/20.0.1/include/node/v8-ma ybe.h:106:67: error: template argument 1 is invalid
106 | template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
| ^
/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/20.0.1/include/node/v8-ma ybe.h:106:71: error: expected unqualified-id before ‘>’ token
106 | template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
| ^
/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/20.0.1/include/node/v8-ma ybe.h:123:43: error: ‘is_lvalue_reference_v’ is not a member of ‘std’; did you mean ‘is_lvalue_ reference’?
123 | template <class T, std::enable_if_t<!std::is_lvalue_reference_v<T>>* = nullptr>
and finally:
✖ MagicMirror Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/home/<myusername>/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epo ll'.
Error: `make` failed with exit code: 2
This will all mean a lot more to you than it does for me.