diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 7dc44d5bbe28fb..ff809a91291bee 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -104,7 +104,7 @@ }; } - const ContextifyScript = process.binding('contextify').ContextifyScript; + const { ContextifyScript } = process.binding('contextify'); // Set up NativeModule function NativeModule(id) {