Skip to content

Instantly share code, notes, and snippets.

@romgrk
Created August 6, 2025 21:07
Show Gist options
  • Save romgrk/a9ddd93df91d538f0e19b2982d4aad60 to your computer and use it in GitHub Desktop.
Save romgrk/a9ddd93df91d538f0e19b2982d4aad60 to your computer and use it in GitHub Desktop.
node:internal/modules/customization_hooks:276
throw new ERR_INVALID_RETURN_PROPERTY_VALUE(
^
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected a string, an ArrayBuffer, or a TypedArray to be returned for the "source" from the "load" hook but got undefined.
at validateLoad (node:internal/modules/customization_hooks:276:11)
at nextStep (node:internal/modules/customization_hooks:190:14)
at load (file:///project/workspace/tests/node-ignore-css.mjs:8:12)
at nextStep (node:internal/modules/customization_hooks:185:26)
at loadWithHooks (node:internal/modules/customization_hooks:348:18)
at #loadSync (node:internal/modules/esm/loader:834:14)
at ModuleLoader.load (node:internal/modules/esm/loader:793:28)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:580:43)
at #createModuleJob (node:internal/modules/esm/loader:604:36)
at #getJobFromResolveResult (node:internal/modules/esm/loader:338:34) {
code: 'ERR_INVALID_RETURN_PROPERTY_VALUE'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment