native-ext icon indicating copy to clipboard operation
native-ext copied to clipboard

Unsupported global NODE_OPTIONS cause process to crash

Open NiklasGollenstede opened this issue 7 years ago • 0 comments

When the user has something set in the NODE_OPTIONS that is not supported by the node.js version included by NativeExt, the processes will fail t spawn with

native-ext.exe/.bin: <value> is not allowed in NODE_OPTIONS

(see browser console) which is reported by the NativeExt extension as

The application is not installed correctly: The Port this request is waiting on was destroyed

Setting SET "NODE_OPTIONS=" in the bin/latest.bat (Windows) fixes that, but completely ignores the NODE_OPTIONS. That might not be a bad idea anyway, since specific development options can already be set via the --node-options= argument when installing NativeExt.

NiklasGollenstede avatar Jan 10 '19 09:01 NiklasGollenstede