ErrLookup › nwjs/nw.js
nwjs/nw.js
Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies. · JavaScript · 263 source files
Analyzed at e15da848e9 on 2026-08-13. 55 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Invaild parameter, need Shortcut object. | validation | error | nwjs, app, shortcut, global-hotkey, type-validation |
| It's forbidden to instantialize a Base class. | exception | error | nwjs, base, abstract-class, internal, programming-error |
| Type of '{type}' is not supported | validation | error | nwjs, clipboard, type-validation, unsupported-feature |
| Only support getting plain text from Clipboard | validation | error | nwjs, clipboard, type-validation, unsupported-feature |
| Invalid menu type: {option.type} | validation | error | nwjs, menu, constructor, validation |
| Menu.items is immutable | exception | error | nwjs, menu, immutable, read-only, programming-error |
| Menu.append() requires a valid MenuItem | validation | error | nwjs, menu, menuitem, type-validation |
| Invalid option. | validation | error | nwjs, menuitem, constructor, validation |
| Invalid MenuItem type: {option.type} | validation | error | nwjs, menuitem, constructor, validation |
| A normal MenuItem must have a label | validation | error | nwjs, menuitem, constructor, validation, required-field |
| 'submenu' must be a valid Menu | validation | error | nwjs, menuitem, menu, submenu, type-validation |
| 'click' must be a valid Function | validation | error | nwjs, menuitem, constructor, callback, type-validation |
| 'type' is immutable at runtime | exception | error | nwjs, menuitem, immutable, read-only, programming-error |
| 'checked' property is only available for checkbox | validation | error | nwjs, menuitem, checkbox, validation, state |
| 'submenu' property requries a valid Menu | validation | error | nwjs, menuitem, submenu, type-validation, immutable-adjacent |
| only following event can be listened: displayBoundsChanged, | validation | error | nwjs, screen, events, validation, whitelist |
| nw.callStaticMethodSync(Screen, AddScreenChangeCallback) fai | exception | error | nwjs, screen, native, environment, headless |
| Invalid option. | validation | error | nwjs, shortcut, constructor, validation |
| Shortcut requires 'key' to specify key combinations. | validation | error | nwjs, shortcut, constructor, validation, required-field |
| 'active' must be a valid function. | validation | error | shortcut, constructor, type-check, nwjs |
| 'failed' must be a valid function. | validation | error | shortcut, constructor, type-check, nwjs |
| Invalid option | validation | error | tray, constructor, type-check, nwjs |
| Must set 'title' or 'icon' field in option | validation | error | tray, constructor, required-field, nwjs |
| 'click' must be a valid Function | validation | error | tray, constructor, type-check, nwjs |
| 'menu' must be a valid Menu | validation | error | tray, constructor, type-check, menu, nwjs |
| 'menu' property requries a valid Menu | validation | error | tray, setter, type-check, menu, nwjs |
| listener must be a function | validation | error | app, events, type-check, nwjs |
| Expecting get(string, optional boolean) or get(ClipboardData | validation | error | clipboard, overload, type-check, nwjs |
| Expecting set(string, optional string, optional boolean) or | validation | error | clipboard, overload, type-check, nwjs |
| Invalid menu type: {option.type} | validation | error | menu, constructor, enum, nwjs |
| Menu.items is immutable | exception | error | menu, immutable, setter, nwjs |
| Invalid option. | validation | error | menuitem, constructor, type-check, nwjs |
| Invalid MenuItem type: {option.type} | validation | error | menuitem, constructor, enum, nwjs |
| A normal MenuItem must have a label | validation | error | menuitem, constructor, required-field, nwjs |
| 'click' must be a valid Function | validation | error | menuitem, constructor, type-check, nwjs |
| 'type' is immutable at runtime | exception | error | menuitem, immutable, setter, nwjs |
| 'checked' property is only available for checkbox | validation | error | menuitem, setter, type-check, checkbox, nwjs |
| listener must be a function | validation | error | window, events, type-check, nwjs |
| Only menu of type "menubar" can be used as this.window menu | validation | error | window, menu, setter, enum, nwjs |
| mixed_context should be set with new_instance in nw.Window.o | exception | error | nwjs, window, api-misuse, mixed-context |
| Invalid 'key' format. | exception | error | nwjs, shortcut, validation, accelerator |
| Invalid option. | exception | error | nwjs, shortcut, validation, constructor |
| Shortcut requires 'key' to specify key combinations. | exception | error | nwjs, shortcut, validation, required-field |
| 'active' must be a valid function. | exception | error | nwjs, shortcut, validation, callback |
| 'failed' must be a valid function. | exception | error | nwjs, shortcut, validation, callback |
| 'shortcut' argument is not an instance of nw.Shortcut | exception | error | nwjs, shortcut, validation, instanceof, registration |
| Invalid option. | exception | error | nwjs, tray, validation, constructor |
| Must set 'title' or 'icon' field in option | exception | error | nwjs, tray, validation, required-field |
| 'click' must be a valid Function | exception | error | nwjs, tray, validation, callback |
| 'menu' must be a valid Menu | exception | error | nwjs, tray, validation, menu, constructor-name |
| 'menu' property requries a valid Menu | exception | error | nwjs, tray, validation, menu, setter, constructor-name |
| listener must be a function | exception | error | nwjs, window, validation, event-listener, once |
| Only menu of type "menubar" can be used as this.window menu | exception | error | nwjs, window, validation, menu, menubar, setter |
| Patch config file %s does not exist. | exception | critical | nwjs, build, patcher, config-missing, python |
| %d patches failed to apply. Your build will not be correct. | exception | critical | nwjs, build, patcher, patch-conflict, git-apply, python |