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. 33 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| 'menu' must be a valid Menu | exception | error | nwjs, tray, validation, menu, constructor-name |
| Invaild parameter, need Shortcut object. | validation | error | nwjs, app, shortcut, global-hotkey, type-validation |
| mixed_context should be set with new_instance in… | exception | error | nwjs, window, api-misuse, mixed-context |
| It's forbidden to instantialize a Base class. | exception | error | nwjs, base, abstract-class, internal, programming-error |
| Invalid 'key' format. | exception | error | nwjs, shortcut, validation, accelerator |
| 'menu' property requries a valid Menu | exception | error | nwjs, tray, validation, menu, setter, constructor-name |
| Invalid option. | exception | error | nwjs, shortcut, validation, constructor |
| Only menu of type "menubar" can be used as this.window menu | exception | error | nwjs, window, validation, menu, menubar, setter |
| patches failed to apply. Your build will not be correct. | exception | critical | nwjs, build, patcher, patch-conflict, git-apply, python |
| nw.callStaticMethodSync(Screen, AddScreenChangeCallback)… | exception | error | nwjs, screen, native, environment, headless |
| 'shortcut' argument is not an instance of nw.Shortcut | exception | error | nwjs, shortcut, validation, instanceof, registration |
| 'submenu' must be a valid Menu | validation | error | nwjs, menuitem, menu, submenu, type-validation |
| Patch config file does not exist. | exception | critical | nwjs, build, patcher, config-missing, python |
| 'click' must be a valid Function | validation | error | nwjs, menuitem, constructor, callback, type-validation |
| Menu.append() requires a valid MenuItem | validation | error | nwjs, menu, menuitem, type-validation |
| 'active' must be a valid function. | validation | error | shortcut, constructor, type-check, nwjs |
| Shortcut requires 'key' to specify key combinations. | validation | error | nwjs, shortcut, constructor, validation, required-field |
| Invalid MenuItem type | validation | error | nwjs, menuitem, constructor, validation |
| listener must be a function | exception | error | nwjs, window, validation, event-listener, once |
| only following event can be listened: displayBoundsChanged… | validation | error | nwjs, screen, events, validation, whitelist |
| A normal MenuItem must have a label | validation | error | nwjs, menuitem, constructor, validation, required-field |
| Invalid menu type | validation | error | nwjs, menu, constructor, validation |
| Must set 'title' or 'icon' field in option | exception | error | nwjs, tray, validation, required-field |
| Type of ' ' is not supported | validation | error | nwjs, clipboard, type-validation, unsupported-feature |
| 'submenu' property requries a valid Menu | validation | error | nwjs, menuitem, submenu, type-validation, immutable-adjacent |
| Expecting get(string, optional boolean) or… | validation | error | clipboard, overload, type-check, nwjs |
| 'failed' must be a valid function. | exception | error | nwjs, shortcut, validation, callback |
| 'type' is immutable at runtime | exception | error | nwjs, menuitem, immutable, read-only, programming-error |
| Menu.items is immutable | exception | error | menu, immutable, setter, nwjs |
| Only support getting plain text from Clipboard | validation | error | nwjs, clipboard, type-validation, unsupported-feature |
| 'checked' property is only available for checkbox | validation | error | nwjs, menuitem, checkbox, validation, state |
| Expecting set(string, optional string, optional boolean) or… | validation | error | clipboard, overload, type-check, nwjs |
| Invalid option | validation | error | tray, constructor, type-check, nwjs |