psbakre
psbakre2w ago

Building next with deno fails with error

node:process
Module build failed: UnhandledSchemeError: Reading from "node:process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /Users/psbakre/Personal Projects/images/node_modules/.deno/next@15.0.2/node_modules/next/dist/compiled/webpack/bundle5.js:28:401783
node:process
Module build failed: UnhandledSchemeError: Reading from "node:process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /Users/psbakre/Personal Projects/images/node_modules/.deno/next@15.0.2/node_modules/next/dist/compiled/webpack/bundle5.js:28:401783
I am mostly sure that this file shouldnt be bundled. Can anyone help?
1 Reply
Pedro Almeida
Pedro Almeida2w ago
https://www.youtube.com/watch?v=H8VLifMOBHU&t=561s I ran following those steps and works exactly the same as in the video
Deno
YouTube
Ryan Dahl introduces Deno 2
(Originally broadcast as a livestream: https://www.youtube.com/watch?v=d35SlRgVxT8) Learn more about Deno 2: https://deno.com/2 In this video, Ryan covers the newest features in Deno 2: 00:00 Intro 01:22 Demo: a program in a single file 05:54 All in one toolchain 06:28 DEMO: deno compile 08:02 Announcing Deno 2 09:21 DEMO: Next.js 11:41 Nod...