Cant build a page with Sveltekit?

Hello I've been working on my Sveltekit app locally for a few weeks and wanted to try it out on Cloudflare pages. But it fails to build. What's going on? 😢

23:18:28.959    Success: Finished cloning repository files
23:18:29.893    Installing dependencies
23:18:29.902    Python version set to 2.7
23:18:32.643    v12.18.0 is already installed.
23:18:33.632    Now using node v12.18.0 (npm v6.14.4)
23:18:33.815    Started restoring cached build plugins
23:18:33.827    Finished restoring cached build plugins
23:18:34.216    Attempting ruby version 2.7.1, read from environment
23:18:37.114    Using ruby version 2.7.1
23:18:37.433    Using PHP version 5.6
23:18:37.564    5.2 is already installed.
23:18:37.586    Using Swift version 5.2
23:18:37.587    Started restoring cached node modules
23:18:37.599    Finished restoring cached node modules
23:18:37.805    Installing NPM modules using NPM version 6.14.4
23:18:39.661    npm WARN deprecated @types/aws-sdk@2.7.0: This is a stub types definition for aws-sdk (https://github.com/aws/aws-sdk-js). aws-sdk provides its own type definitions, so you don't need @types/aws-sdk installed!
23:18:42.467    npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
23:18:45.349    npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
23:18:47.278    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @aws-sdk/credential-providers@^3.186.0 (node_modules/mongodb/node_modules/@aws-sdk/credential-providers):
23:18:47.279    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for @aws-sdk/credential-providers@3.245.0: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
23:18:47.279    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: @aws-sdk/credential-providers@3.245.0
Was this page helpful?
Cant build a page with Sveltekit? - Cloudflare Developers