Closed Synchroneyes closed 2 years ago
You'll need to disable System Integrity Protection or add the executable to the Full Disk Access tab in Security & Privacy > Privacy > Full Disk Access. I think it is because MacOS is now much stricter about access to system files.
For those looking to turn off System Integrity Protection
:
Alternatively, I found adding both my Node binary, as well as my terminal, to Full Disk Access
seemed to be enough for most dev
Hi, I'm using Mojave 10.14.2 and i can't read messages. I get this error:
(node:12727) UnhandledPromiseRejectionWarning: Error: SQLITE_CANTOPEN: unable to open database file (node:12727) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:12727) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I'm using the example about imessage.listen().on("message")