nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

[nwjc] SyntaxError: Unexpected identifier 'code' when using the nwjc generated file.

Open FirehawkV21 opened this issue 5 months ago • 0 comments

I am currently diagnosing an issue that happens on some RPG Maker MV plugins: When the affected plugins (like this one: https://chaucer.itch.io/random-item ) were compiled with nwjc, they would throw SyntaxError: Unexpected identifier 'code'. (Or SyntaxError: Unexpected identifier 'alias'. in v0.48.4 of nwjs). The current clue I have is at Object.alias(). I checked the plugin with Visual Studio Code and JSHint, but I can't see what would cause that error.

FirehawkV21 avatar Aug 14 '25 10:08 FirehawkV21