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
CXX(target) Release/obj.target/addon/lib/macos.o
In file included from ../lib/macos.mm:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString
(NSAttributedString *)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString *)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
~~~~~~~~~~~~~~ ^ ~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT'
#define NS_FORMAT_ARGUMENT(A) attribute ((format_arg(A)))
^ ~
../lib/macos.mm:58:18: warning: comparison of integers of different signs: 'CGWindowID' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (windowId == handle) {
~~~~~~~~ ^ ~~~~~~
../lib/macos.mm:120:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
if (app && path != "") {
^ ~~
../lib/macos.mm:127:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vectorNapi::Number::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < vec.size(); i++) {
~ ^ ~~~~~~~~~~
3 warnings and 1 error generated.
make: *** [Release/obj.target/addon/lib/macos.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/code/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/Users/code/.nvm/versions/node/v13.14.0/bin/node" "/Users/code/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Applications/code/github/node-window-manager
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered:
code@kingdeMacBook-Air node-window-manager % npm run rebuild
CXX(target) Release/obj.target/addon/lib/macos.o
In file included from ../lib/macos.mm:1:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143: error: function does not return NSString
~~~~~~~~~~~~~~ ^ ~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48: note: expanded from macro 'NS_FORMAT_ARGUMENT'
#define NS_FORMAT_ARGUMENT(A) attribute ((format_arg(A)))
^ ~
../lib/macos.mm:58:18: warning: comparison of integers of different signs: 'CGWindowID' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (windowId == handle) {
~~~~~~~~ ^ ~~~~~~
../lib/macos.mm:120:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
if (app && path != "") {
^ ~~
../lib/macos.mm:127:21: warning: comparison of integers of different signs: 'int' and 'std::__1::vectorNapi::Number::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < vec.size(); i++) {
~ ^ ~~~~~~~~~~
3 warnings and 1 error generated.
make: *** [Release/obj.target/addon/lib/macos.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/Users/code/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/Users/code/.nvm/versions/node/v13.14.0/bin/node" "/Users/code/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Applications/code/github/node-window-manager
gyp ERR! node -v v13.14.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
The text was updated successfully, but these errors were encountered: