New critical Build error drizzle 0.35.0 with Cloudflare

EDIT: FIXED WITH VERSION 0.35.2 Since updating from 0.34.1 to 0.35.0 i encounter this error when i try to build the project localy or on Cloudflare itself, on version 0.34.1 the issue does not exist.
Using @sveltejs/adapter-cloudflare
X [ERROR] Could not resolve "fs"

node_modules/@neon-rs/load/dist/index.js:28:32:
28 │ const fs = __importStar(require("fs"));
╵ ~~~~

Cannot use "fs" when deploying to Cloudflare.


X [ERROR] Could not resolve "child_process"

node_modules/detect-libc/lib/detect-libc.js:6:29:
6 │ const childProcess = require('child_process');
╵ ~~~~~~~~~~~~~~~

Cannot use "child_process" when deploying to Cloudflare.


X [ERROR] Could not resolve "fs"

node_modules/detect-libc/lib/filesystem.js:6:19:
6 │ const fs = require('fs');
╵ ~~~~

Cannot use "fs" when deploying to Cloudflare.
Using @sveltejs/adapter-cloudflare
X [ERROR] Could not resolve "fs"

node_modules/@neon-rs/load/dist/index.js:28:32:
28 │ const fs = __importStar(require("fs"));
╵ ~~~~

Cannot use "fs" when deploying to Cloudflare.


X [ERROR] Could not resolve "child_process"

node_modules/detect-libc/lib/detect-libc.js:6:29:
6 │ const childProcess = require('child_process');
╵ ~~~~~~~~~~~~~~~

Cannot use "child_process" when deploying to Cloudflare.


X [ERROR] Could not resolve "fs"

node_modules/detect-libc/lib/filesystem.js:6:19:
6 │ const fs = require('fs');
╵ ~~~~

Cannot use "fs" when deploying to Cloudflare.
3 Replies
martvonk84
martvonk843w ago
same
Efkan
Efkan3w ago
GitHub
[BUG]: New Build error drizzle 0.35.0 with Sveltekit Cloudflare Ada...
What version of drizzle-orm are you using? 0.35.0 What version of drizzle-kit are you using? 0.26.1 Describe the Bug Since updating from 0.34.1 to 0.35.0 I encounter this error when i try to build ...
Want results from more Discord servers?
Add your server