You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code causing the error : app('setActivationPolicy', $.NSApplicationActivationPolicyRegular)
/Users/nsurleraux/Documents/test-cocoa/node_modules/nodobjc/lib/class.js:193
else throw e;
^
TypeError: error setting argument 2 - writeInt64: Number/String 64-bit value required
at Buffer.writeInt64LE (/Users/nsurleraux/Documents/test-cocoa/node_modules/ref/lib/ref.js:1355:18)
at Object.set (/Users/nsurleraux/Documents/test-cocoa/node_modules/ref/lib/ref.js:953:52)
at Object.set (/Users/nsurleraux/Documents/test-cocoa/node_modules/ref/lib/ref.js:482:10)
at Object.alloc (/Users/nsurleraux/Documents/test-cocoa/node_modules/ref/lib/ref.js:516:13)
at proxy (/Users/nsurleraux/Documents/test-cocoa/node_modules/ffi/lib/_foreign_function.js:50:22)
at unwrapper (/Users/nsurleraux/Documents/test-cocoa/node_modules/nodobjc/lib/core.js:301:31)
at ID.module.exports.Class.msgSend (/Users/nsurleraux/Documents/test-cocoa/node_modules/nodobjc/lib/class.js:189:34)
at rtn (/Users/nsurleraux/Documents/test-cocoa/node_modules/nodobjc/lib/core.js:375:47)
at Object.<anonymous> (/Users/nsurleraux/Documents/test-cocoa/index.js:97:1)
at Module._compile (module.js:652:30)
The text was updated successfully, but these errors were encountered:
This is caused by the Cocoa example in this repo.
Code causing the error :
app('setActivationPolicy', $.NSApplicationActivationPolicyRegular)
The text was updated successfully, but these errors were encountered: