Hello superhumanly awesome Netlify team:
I noticed this error on a recent build:
4:22:34 PM: ──────────────────────────────────────────────────────────────── 4:22:34 PM: 4:22:34 PM: Packaging Edge Functions from netlify/edge-functions directory: 4:22:34 PM: - oembed 4:22:34 PM: - player_meta_preprocess 4:22:34 PM: Could not load configuration for edge function at '/opt/build/repo/packages/core-player/netlify/edge-functions/oembed.js' 4:22:34 PM: error: Uncaught (in promise) SyntaxError: The requested module '../log/logger.ts' does not provide an export named 'detachedLogger' at https://edge.netlify.com/bootstrap/util/redirect.ts:3:10 4:22:34 PM: const { Netlify } = await import(bootstrapURL) 4:22:34 PM: ^ 4:22:34 PM: at async file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/config.ts:4:21 4:22:34 PM: Could not load configuration for edge function at '/opt/build/repo/packages/core-player/netlify/edge-functions/player_meta_preprocess.js' 4:22:34 PM: error: Uncaught (in promise) SyntaxError: The requested module '../log/logger.ts' does not provide an export named 'detachedLogger' at https://edge.netlify.com/bootstrap/util/redirect.ts:3:10 4:22:34 PM: const { Netlify } = await import(bootstrapURL) 4:22:34 PM: ^ 4:22:34 PM: at async file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/config.ts:4:21 4:22:34 PM: 4:22:34 PM: (Edge Functions bundling completed in 386ms)
Strangely enough, it seems like the edge functions themselves are still working…
This started after Jul 20
Deploy without the issue:
64ac13968f70060008ea25dd
Deploy with the issue
64de2880933b700008a61574
Is this still happening for you? Based on your deploy logs that doesn’t seem to be the case.
Thanks for checking back.
Unfortunately, I do still see this in my build longs.
6:05:22 PM: ──────────────────────────────────────────────────────────────── 6:05:22 PM: 6:05:22 PM: Packaging Edge Functions from netlify/edge-functions directory: 6:05:22 PM: - oembed 6:05:22 PM: - player_meta_preprocess 6:05:23 PM: Could not load configuration for edge function at '/opt/build/repo/packages/core-player/netlify/edge-functions/oembed.js' 6:05:23 PM: error: Uncaught (in promise) SyntaxError: The requested module '../log/logger.ts' does not provide an export named 'detachedLogger' at https://edge.netlify.com/bootstrap/util/redirect.ts:3:10 6:05:23 PM: const { Netlify } = await import(bootstrapURL) 6:05:23 PM: ^ 6:05:23 PM: at async file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/config.ts:4:21 6:05:23 PM: Could not load configuration for edge function at '/opt/build/repo/packages/core-player/netlify/edge-functions/player_meta_preprocess.js' 6:05:23 PM: error: Uncaught (in promise) SyntaxError: The requested module '../log/logger.ts' does not provide an export named 'detachedLogger' at https://edge.netlify.com/bootstrap/util/redirect.ts:3:10 6:05:23 PM: const { Netlify } = await import(bootstrapURL) 6:05:23 PM: ^ 6:05:23 PM: at async file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/config.ts:4:21 6:05:23 PM: 6:05:23 PM: (Edge Functions bundling completed in 462ms) 6:05:23 PM:
Deploy 64e77f24261d0c0008e9526a
Ahh, I see those now. I’ve asked the devs to take a look.
This should now be fixed. Let us know if you’re still seeing it.