My deployment in cloudflare fails, Please help!

My bolt.diy deployment in cloudflare fails right after

17:45:20.713 No wrangler.toml file found. Continuing.
17:45:20.713 Found Functions directory at /functions. Uploading.
17:45:20.719 :partly_sunny: wrangler 3.101.0

Below is error logs

17:45:22.727 ✘ [ERROR] Build failed with 5 errors:
17:45:22.728
17:45:22.728 ✘ [ERROR] Could not resolve child_process
17:45:22.728
17:45:22.728 …/build/server/index.js:25:31:
17:45:22.728 25 │ import { execSync, exec } from ‘child_process’;
17:45:22.728 ╵ ~~~~~~~~~~~~~~~
17:45:22.728
17:45:22.728 The package child_process wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use platform: ‘node’ to do that, which will remove this error.
17:45:22.729
17:45:22.729
17:45:22.729 ✘ [ERROR] Could not resolve crypto
17:45:22.729
17:45:22.729 …/build/server/index.js:29:19:
17:45:22.729 29 │ import crypto from ‘crypto’;
17:45:22.729 ╵ ~~~~~~~~
17:45:22.729
17:45:22.729 The package crypto wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use platform: ‘node’ to do that, which will remove this error.
17:45:22.730
17:45:22.730
17:45:22.730 ✘ [ERROR] Could not resolve util
17:45:22.730
17:45:22.730 …/build/server/index.js:31:26:
17:45:22.730 31 │ import { promisify } from ‘util’;
17:45:22.730 ╵ ~~~~~~
17:45:22.730
17:45:22.731 The package util wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use platform: ‘node’ to do that, which will remove this error.
17:45:22.731
17:45:22.731
17:45:22.731 ✘ [ERROR] Could not resolve crypto
17:45:22.731
17:45:22.731 …/node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js:5:21:
17:45:22.731 5 │ var crypto = require(‘crypto’);
17:45:22.731 ╵ ~~~~~~~~
17:45:22.732
17:45:22.732 The package crypto wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use platform: ‘node’ to do that, which will remove this error.
17:45:22.732
17:45:22.732
17:45:22.732 ✘ [ERROR] Could not resolve stream
17:45:22.732
17:45:22.732 …/node_modules/.pnpm/stream-slice@0.1.2/node_modules/stream-slice/index.js:3:24:
17:45:22.732 3 │ var Transform = require(‘stream’).Transform;
17:45:22.732 ╵ ~~~~~~~~
17:45:22.733
17:45:22.733 The package stream wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use platform: ‘node’ to do that, which will remove this error.
17:45:22.733
17:45:22.733
17:45:22.733
17:45:22.733
17:45:22.733
17:45:22.735 ✘ [ERROR] Build failed with 5 errors:
17:45:22.735
17:45:22.735 ✘ [ERROR] Could not resolve child_process
17:45:22.735
17:45:22.735 …/build/server/index.js:25:31:
17:45:22.736 25 │ import { execSync, exec } from ‘child_process’;
17:45:22.736 ╵ ~~~~~~~~~~~~~~~
17:45:22.736
17:45:22.736 The package child_process wasn’t found on the file system but is built into node.
17:45:22.736 - Make sure to prefix the module name with node: or update your compatibility_date to 2024-09-23 or later.
17:45:22.736
17:45:22.736
17:45:22.736
17:45:22.736 ✘ [ERROR] Could not resolve crypto
17:45:22.737
17:45:22.737 …/build/server/index.js:29:19:
17:45:22.737 29 │ import crypto from ‘crypto’;
17:45:22.737 ╵ ~~~~~~~~
17:45:22.737
17:45:22.737 The package crypto wasn’t found on the file system but is built into node.
17:45:22.737 - Make sure to prefix the module name with node: or update your compatibility_date to 2024-09-23 or later.
17:45:22.738
17:45:22.738
17:45:22.738
17:45:22.738 ✘ [ERROR] Could not resolve util
17:45:22.738
17:45:22.738 …/build/server/index.js:31:26:
17:45:22.738 31 │ import { promisify } from ‘util’;
17:45:22.739 ╵ ~~~~~~
17:45:22.739
17:45:22.739 The package util wasn’t found on the file system but is built into node.
17:45:22.739 - Make sure to prefix the module name with node: or update your compatibility_date to 2024-09-23 or later.
17:45:22.739
17:45:22.739
17:45:22.739
17:45:22.740 ✘ [ERROR] Could not resolve crypto
17:45:22.740
17:45:22.740 …/node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js:5:21:
17:45:22.740 5 │ var crypto = require(‘crypto’);
17:45:22.741 ╵ ~~~~~~~~
17:45:22.741
17:45:22.741 The package crypto wasn’t found on the file system but is built into node.
17:45:22.741 - Make sure to prefix the module name with node: or update your compatibility_date to 2024-09-23 or later.
17:45:22.741
17:45:22.741
17:45:22.741
17:45:22.741 ✘ [ERROR] Could not resolve stream
17:45:22.741
17:45:22.741 …/node_modules/.pnpm/stream-slice@0.1.2/node_modules/stream-slice/index.js:3:24:
17:45:22.741 3 │ var Transform = require(‘stream’).Transform;
17:45:22.741 ╵ ~~~~~~~~
17:45:22.741
17:45:22.741 The package stream wasn’t found on the file system but is built into node.
17:45:22.742 - Make sure to prefix the module name with node: or update your compatibility_date to 2024-09-23 or later.

Hi @Santhosh-Kumar,

its a known problem at the moment: See here: How to upgrade bold.diy to v0.0.7 on cloudflare