blitz-js / blitz

⚡️ The Missing Fullstack Toolkit for Next.js

Home Page:https://Blitzjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Building Blitz in Cloudflare

jpmelnik opened this issue · comments

What is the problem?

I can't deploy to Cloudflare Pages a new Blitz App.

Paste all your error logs here:

2024-02-10T03:59:45.160107Z Cloning repository...
2024-02-10T03:59:46.173673Z From https://github.com/jpmelnik/blitz-with-prisma-supabase
2024-02-10T03:59:46.174401Z * branch 8fbefbdafc21d8f29b74043359b21077ba405801 -> FETCH_HEAD
2024-02-10T03:59:46.174705Z
2024-02-10T03:59:46.216369Z HEAD is now at 8fbefbd Cloudflare Pages.
2024-02-10T03:59:46.216864Z
2024-02-10T03:59:46.315073Z
2024-02-10T03:59:46.315592Z Using v2 root directory strategy
2024-02-10T03:59:46.34466Z Success: Finished cloning repository files
2024-02-10T03:59:47.162191Z Detected the following tools from environment: nodejs@18.17.1, npm@9.6.7
2024-02-10T03:59:47.162977Z Installing project dependencies: npm clean-install --progress=false
2024-02-10T03:59:51.644035Z npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2024-02-10T03:59:52.172634Z npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
2024-02-10T03:59:52.261445Z npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2024-02-10T03:59:52.29029Z npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2024-02-10T03:59:52.321633Z npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
2024-02-10T03:59:52.658387Z npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2024-02-10T03:59:52.69823Z npm WARN deprecated preview-email@3.0.7: We just released outbound SMTP support! Try it out at @ https://forwardemail.net/docs/how-to-javascript-contact-forms-node-js 🚀 ✉️ 👽
2024-02-10T03:59:54.393213Z npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
2024-02-10T03:59:54.962041Z npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
2024-02-10T03:59:56.55822Z npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
2024-02-10T03:59:56.558748Z npm WARN deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
2024-02-10T03:59:56.559294Z npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
2024-02-10T03:59:56.559769Z npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
2024-02-10T03:59:56.560241Z npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
2024-02-10T03:59:56.58447Z npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
2024-02-10T03:59:56.610899Z npm WARN deprecated @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
2024-02-10T03:59:56.612239Z npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
2024-02-10T03:59:56.648149Z npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
2024-02-10T03:59:56.64855Z npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
2024-02-10T03:59:56.64926Z npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
2024-02-10T03:59:56.649857Z npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
2024-02-10T03:59:56.650384Z npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
2024-02-10T04:00:10.995157Z
2024-02-10T04:00:10.995401Z > blitz@1.0.0 prepare
2024-02-10T04:00:10.995682Z > husky install
2024-02-10T04:00:10.995878Z
2024-02-10T04:00:11.091532Z husky - Git hooks installed
2024-02-10T04:00:11.131091Z
2024-02-10T04:00:11.131657Z added 1297 packages, and audited 1298 packages in 23s
2024-02-10T04:00:11.13182Z
2024-02-10T04:00:11.132323Z 245 packages are looking for funding
2024-02-10T04:00:11.132531Z run npm fund for details
2024-02-10T04:00:11.167697Z
2024-02-10T04:00:11.16801Z 5 vulnerabilities (2 low, 3 moderate)
2024-02-10T04:00:11.16821Z
2024-02-10T04:00:11.168389Z To address issues that do not require attention, run:
2024-02-10T04:00:11.168564Z npm audit fix
2024-02-10T04:00:11.168742Z
2024-02-10T04:00:11.168901Z To address all issues (including breaking changes), run:
2024-02-10T04:00:11.169044Z npm audit fix --force
2024-02-10T04:00:11.16921Z
2024-02-10T04:00:11.169353Z Run npm audit for details.
2024-02-10T04:00:11.188309Z Executing user command: npx @cloudflare/next-on-pages@1
2024-02-10T04:00:12.642335Z ⚡️ @cloudflare/next-on-pages CLI v.1.8.6
2024-02-10T04:00:13.034403Z ⚡️ Detected Package Manager: npm (9.6.7)
2024-02-10T04:00:13.034964Z ⚡️ Preparing project...
2024-02-10T04:00:13.038487Z ⚡️ Project is ready
2024-02-10T04:00:13.038668Z ⚡️ Building project...
2024-02-10T04:00:14.447302Z ▲ npm
2024-02-10T04:00:14.447979Z ▲ WARN exec The following package was not found and will be installed: vercel@33.5.0
2024-02-10T04:00:20.152307Z ▲ npm
2024-02-10T04:00:20.15261Z ▲ WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
2024-02-10T04:00:20.188962Z ▲ npm WARN
2024-02-10T04:00:20.189528Z ▲ deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
2024-02-10T04:00:22.331062Z ▲ Vercel CLI 33.5.0
2024-02-10T04:00:22.671741Z ▲ Installing dependencies...
2024-02-10T04:00:25.209079Z ▲ > blitz@1.0.0 prepare
2024-02-10T04:00:25.209352Z ▲ > husky install
2024-02-10T04:00:25.298052Z ▲ husky - Git hooks installed
2024-02-10T04:00:25.314242Z ▲ up to date in 2s
2024-02-10T04:00:25.314545Z ▲ 245 packages are looking for funding
2024-02-10T04:00:25.314708Z ▲ run npm fund for details
2024-02-10T04:00:25.33017Z ▲ Detected Next.js version: 13.5.4
2024-02-10T04:00:25.344872Z ▲ Detected package-lock.json generated by npm 7+
2024-02-10T04:00:25.345278Z ▲ Running "npm run build"
2024-02-10T04:00:25.728537Z ▲ > blitz@1.0.0 build
2024-02-10T04:00:25.728912Z ▲ > blitz build
2024-02-10T04:00:25.844434Z ▲ Loaded env from /opt/buildhome/repo/.env
2024-02-10T04:00:25.958895Z ▲ ✔ Next.js was successfully patched with a React Suspense fix
2024-02-10T04:00:26.082213Z ▲ ✔ Routes manifest was successfully generated
2024-02-10T04:00:26.953976Z ▲ �[35m�[1mAttention�[22m�[39m: Next.js now collects completely anonymous telemetry regarding usage.
2024-02-10T04:00:26.954868Z ▲ This information is used to shape Next.js' roadmap and prioritize features.
2024-02-10T04:00:26.955447Z ▲ You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
2024-02-10T04:00:26.955625Z ▲ �[36mhttps://nextjs.org/telemetry�[39m
2024-02-10T04:00:27.05979Z ▲ �[37m�[1m �[22m�[39m Creating an optimized production build ...
2024-02-10T04:00:52.067468Z ▲ �[33m�[1m⚠�[22m�[39m Compiled with warnings
2024-02-10T04:00:52.067784Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.067938Z ▲ Attempted import error: 'setupBlitzServer' is not exported from '@blitzjs/next' (imported as 'setupBlitzServer').
2024-02-10T04:00:52.068119Z ▲
2024-02-10T04:00:52.068317Z ▲ Import trace for requested module:
2024-02-10T04:00:52.068444Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.068579Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.068728Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.0689Z ▲
2024-02-10T04:00:52.069072Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.069224Z ▲ Attempted import error: 'AuthServerPlugin' is not exported from '@blitzjs/auth' (imported as 'AuthServerPlugin').
2024-02-10T04:00:52.069363Z ▲
2024-02-10T04:00:52.069505Z ▲ Import trace for requested module:
2024-02-10T04:00:52.069642Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.069772Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.069904Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.070054Z ▲
2024-02-10T04:00:52.070174Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.070313Z ▲ Attempted import error: 'PrismaStorage' is not exported from '@blitzjs/auth' (imported as 'PrismaStorage').
2024-02-10T04:00:52.070471Z ▲
2024-02-10T04:00:52.070607Z ▲ Import trace for requested module:
2024-02-10T04:00:52.070742Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.070895Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.071025Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.071168Z ▲
2024-02-10T04:00:52.071313Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.071464Z ▲ Attempted import error: 'simpleRolesIsAuthorized' is not exported from '@blitzjs/auth' (imported as 'simpleRolesIsAuthorized').
2024-02-10T04:00:52.071617Z ▲
2024-02-10T04:00:52.071809Z ▲ Import trace for requested module:
2024-02-10T04:00:52.071952Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.072091Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.072209Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.072359Z ▲
2024-02-10T04:00:52.072503Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.072643Z ▲ Attempted import error: 'RpcServerPlugin' is not exported from '@blitzjs/rpc' (imported as 'RpcServerPlugin').
2024-02-10T04:00:52.072748Z ▲
2024-02-10T04:00:52.072852Z ▲ Import trace for requested module:
2024-02-10T04:00:52.073101Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.073227Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.073463Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.073684Z ▲
2024-02-10T04:00:52.073859Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.073969Z ▲ Attempted import error: 'BlitzLogger' is not exported from 'blitz' (imported as 'BlitzLogger').
2024-02-10T04:00:52.074112Z ▲
2024-02-10T04:00:52.07426Z ▲ Import trace for requested module:
2024-02-10T04:00:52.074376Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.074512Z ▲ ./src/app/page.tsx
2024-02-10T04:00:52.074706Z ▲ ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fopt%2Fbuildhome%2Frepo%2Fsrc%2Fapp&appPaths=%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!./src/app/page.tsx?next_edge_ssr_entry
2024-02-10T04:00:52.074904Z ▲ �[37m�[1m �[22m�[39m Linting and checking validity of types ...
2024-02-10T04:00:56.391272Z ▲ �[37m�[1m �[22m�[39m Collecting page data ...
2024-02-10T04:00:58.03905Z ▲ TypeError: (0 , b.PrismaStorage) is not a function
2024-02-10T04:00:58.039361Z ▲ at 2563 �[90m(/opt/buildhome/repo/�[39m.next/server/app/(auth)/reset-password/page.js:54:33129�[90m)�[39m
2024-02-10T04:00:58.03953Z ▲ at webpack_require �[90m(/opt/buildhome/repo/�[39m.next/server/edge-runtime-webpack.js:25:42�[90m)�[39m
2024-02-10T04:00:58.039682Z ▲ at 3738 �[90m(/opt/buildhome/repo/�[39m.next/server/app/(auth)/reset-password/page.js:54:12701�[90m)�[39m
2024-02-10T04:00:58.039827Z ▲ at Function.webpack_require �[90m(/opt/buildhome/repo/�[39m.next/server/edge-runtime-webpack.js:25:42�[90m)�[39m
2024-02-10T04:00:58.03997Z ▲ �[90m at process.processTicksAndRejections (node:internal/process/task_queues:95:5)�[39m
2024-02-10T04:00:58.043522Z ▲ > Build error occurred
2024-02-10T04:00:58.04865Z ▲ Error: Failed to collect page data for /reset-password
2024-02-10T04:00:58.048882Z ▲ at �[90m/opt/buildhome/repo/�[39mnode_modules/�[4mnext�[24m/dist/build/utils.js:1178:15
2024-02-10T04:00:58.049047Z ▲ �[90m at process.processTicksAndRejections (node:internal/process/task_queues:95:5)�[39m {
2024-02-10T04:00:58.049207Z ▲ type: �[32m'Error'�[39m
2024-02-10T04:00:58.049359Z ▲ }
2024-02-10T04:00:58.256258Z ▲ Error: Command "npm run build" exited with 1
2024-02-10T04:00:58.366315Z
2024-02-10T04:00:58.366638Z ⚡️ The Vercel build (npx vercel build) command failed. For more details see the Vercel logs above.
2024-02-10T04:00:58.366796Z ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
2024-02-10T04:00:58.366936Z
2024-02-10T04:00:58.385035Z Failed: Error while executing user command. Exited with error code: 1
2024-02-10T04:00:58.402009Z Failed: build command exited with code: 1
2024-02-10T04:00:59.352955Z Failed: error occurred while running build command

Paste all relevant code snippets here:

PASTE_HERE (leave the ``` marks)

What are detailed steps to reproduce this?

Run blitz -v and paste the output here:

ystem:
OS: Windows 10 10.0.22621
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Memory: 7.00 GB / 15.89 GB
Binaries:
Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@blitzjs/auth: 2.0.4 => 2.0.4
@blitzjs/next: 2.0.4 => 2.0.4
@blitzjs/rpc: 2.0.4 => 2.0.4
@prisma/client: 5.4.2 => 5.4.2
blitz: 2.0.4 => 2.0.4
next: 13.5.4 => 13.5.4
prisma: 5.4.2 => 5.4.2
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: 5.3.3 => 5.3.3

Please include below any other applicable logs and screenshots that show your problem:

No response

Hey @jpmelnik, does your app build correctly locally?

2024-02-10T04:00:52.067938Z ▲ Attempted import error: 'setupBlitzServer' is not exported from '@blitzjs/next' (imported as 'setupBlitzServer').
2024-02-10T04:00:52.068119Z ▲
2024-02-10T04:00:52.068317Z ▲ Import trace for requested module:
2024-02-10T04:00:52.068444Z ▲ ./src/app/blitz-server.ts
2024-02-10T04:00:52.068579Z ▲ ./src/app/page.tsx

From the above error log, I am guessing that the issue could be that page.tsx is a client component importing something from blitz-server.ts, is that the case?

If so, please extract the client related functionality to a new client component and use page.tsx as a server wrapper for that component. Since these exports do not exist in the browser and the code in blitz-server must run server side

I am closing the issue, since with the information provided it does not seem to be a bug in the framework.

@jpmelnik feel free to reopen the issue with a repro or some more information. Thanks.

I can deploy to Cloudflare but still generating several issues.

Attempted import error: 'PrismaStorage' is not exported from '@blitzjs/auth' (imported as 'PrismaStorage').
Attempted import error: 'simpleRolesIsAuthorized' is not exported from '@blitzjs/auth' (imported as 'simpleRolesIsAuthorized').

...and more.

2024-02-13T00:45:52.631938Z Cloning repository...
2024-02-13T00:45:53.678739Z From https://github.com/jpmelnik/blitz-with-prisma-supabase
2024-02-13T00:45:53.679322Z * branch ec3b1e001d566b2fd9fdaeb35c85974f0b901454 -> FETCH_HEAD
2024-02-13T00:45:53.679457Z
2024-02-13T00:45:53.717783Z HEAD is now at ec3b1e0 Cloudflare Pages.
2024-02-13T00:45:53.718224Z
2024-02-13T00:45:53.80959Z
2024-02-13T00:45:53.810084Z Using v2 root directory strategy
2024-02-13T00:45:53.837389Z Success: Finished cloning repository files
2024-02-13T00:45:54.637352Z Detected the following tools from environment: npm@9.6.7, nodejs@18.17.1
2024-02-13T00:45:54.637957Z Installing project dependencies: npm clean-install --progress=false
2024-02-13T00:45:58.874083Z npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2024-02-13T00:45:59.286301Z npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2024-02-13T00:45:59.370415Z npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
2024-02-13T00:45:59.534217Z npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
2024-02-13T00:45:59.780783Z npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2024-02-13T00:45:59.824265Z npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2024-02-13T00:45:59.825309Z npm WARN deprecated preview-email@3.0.7: We just released outbound SMTP support! Try it out at @ https://forwardemail.net/docs/how-to-javascript-contact-forms-node-js 🚀 ✉️ 👽
2024-02-13T00:46:01.553478Z npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
2024-02-13T00:46:02.172961Z npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
2024-02-13T00:46:03.798863Z npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
2024-02-13T00:46:03.826647Z npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
2024-02-13T00:46:03.827605Z npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
2024-02-13T00:46:03.828452Z npm WARN deprecated @babel/plugin-proposal-export-namespace-from@7.18.9: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
2024-02-13T00:46:03.854081Z npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
2024-02-13T00:46:03.854573Z npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
2024-02-13T00:46:03.854914Z npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
2024-02-13T00:46:03.855257Z npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
2024-02-13T00:46:03.881418Z npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
2024-02-13T00:46:03.907415Z npm WARN deprecated @babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
2024-02-13T00:46:03.935084Z npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
2024-02-13T00:46:03.985022Z npm WARN deprecated @babel/plugin-proposal-logical-assignment-operators@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
2024-02-13T00:46:04.025394Z npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
2024-02-13T00:46:18.995684Z
2024-02-13T00:46:18.995987Z > blitz@1.0.0 prepare
2024-02-13T00:46:18.99612Z > husky install
2024-02-13T00:46:18.996245Z
2024-02-13T00:46:19.088564Z husky - Git hooks installed
2024-02-13T00:46:19.127211Z
2024-02-13T00:46:19.127456Z added 1297 packages, and audited 1298 packages in 24s
2024-02-13T00:46:19.12762Z
2024-02-13T00:46:19.12776Z 245 packages are looking for funding
2024-02-13T00:46:19.127894Z run npm fund for details
2024-02-13T00:46:19.160208Z
2024-02-13T00:46:19.160492Z 5 vulnerabilities (2 low, 3 moderate)
2024-02-13T00:46:19.160626Z
2024-02-13T00:46:19.160813Z To address issues that do not require attention, run:
2024-02-13T00:46:19.160928Z npm audit fix
2024-02-13T00:46:19.161059Z
2024-02-13T00:46:19.161221Z To address all issues (including breaking changes), run:
2024-02-13T00:46:19.161394Z npm audit fix --force
2024-02-13T00:46:19.161493Z
2024-02-13T00:46:19.161615Z Run npm audit for details.
2024-02-13T00:46:19.180917Z Executing user command: npx @cloudflare/next-on-pages@1
2024-02-13T00:46:20.54082Z ⚡️ @cloudflare/next-on-pages CLI v.1.8.6
2024-02-13T00:46:20.918706Z ⚡️ Detected Package Manager: npm (9.6.7)
2024-02-13T00:46:20.919024Z ⚡️ Preparing project...
2024-02-13T00:46:20.922662Z ⚡️ Project is ready
2024-02-13T00:46:20.922938Z ⚡️ Building project...
2024-02-13T00:46:22.251036Z ▲ npm
2024-02-13T00:46:22.25167Z ▲ WARN exec The following package was not found and will be installed: vercel@33.5.0
2024-02-13T00:46:26.925916Z ▲ npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
2024-02-13T00:46:26.960501Z ▲ npm WARN deprecated
2024-02-13T00:46:26.961088Z ▲ uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
2024-02-13T00:46:28.734857Z ▲ Vercel CLI 33.5.0
2024-02-13T00:46:29.049777Z ▲ Installing dependencies...
2024-02-13T00:46:31.510367Z ▲ > blitz@1.0.0 prepare
2024-02-13T00:46:31.510676Z ▲ > husky install
2024-02-13T00:46:31.60098Z ▲ husky - Git hooks installed
2024-02-13T00:46:31.616833Z ▲ up to date in 2s
2024-02-13T00:46:31.617076Z ▲
2024-02-13T00:46:31.617554Z ▲ 245 packages are looking for funding
2024-02-13T00:46:31.617904Z ▲ run npm fund for details
2024-02-13T00:46:31.631169Z ▲ Detected Next.js version: 13.5.4
2024-02-13T00:46:31.646175Z ▲ Detected package-lock.json generated by npm 7+
2024-02-13T00:46:31.646566Z ▲ Running "npm run build"
2024-02-13T00:46:32.034529Z ▲ > blitz@1.0.0 build
2024-02-13T00:46:32.03485Z ▲ > blitz build
2024-02-13T00:46:32.150477Z ▲ Loaded env from /opt/buildhome/repo/.env
2024-02-13T00:46:32.264667Z ▲ ✔ Next.js was successfully patched with a React Suspense fix
2024-02-13T00:46:32.376919Z ▲ ✔ Routes manifest was successfully generated
2024-02-13T00:46:33.249152Z ▲ �[35m�[1mAttention�[22m�[39m: Next.js now collects completely anonymous telemetry regarding usage.
2024-02-13T00:46:33.249577Z ▲ This information is used to shape Next.js' roadmap and prioritize features.
2024-02-13T00:46:33.250006Z ▲ You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
2024-02-13T00:46:33.25017Z ▲ �[36mhttps://nextjs.org/telemetry�[39m
2024-02-13T00:46:33.349103Z ▲ �[37m�[1m �[22m�[39m Creating an optimized production build ...
2024-02-13T00:46:57.411359Z ▲ �[33m�[1m⚠�[22m�[39m Compiled with warnings
2024-02-13T00:46:57.411675Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.411834Z ▲ Attempted import error: 'setupBlitzServer' is not exported from '@blitzjs/next' (imported as 'setupBlitzServer').
2024-02-13T00:46:57.412137Z ▲
2024-02-13T00:46:57.412264Z ▲ Import trace for requested module:
2024-02-13T00:46:57.412411Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.412539Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.412767Z ▲
2024-02-13T00:46:57.412879Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.413143Z ▲ Attempted import error: 'AuthServerPlugin' is not exported from '@blitzjs/auth' (imported as 'AuthServerPlugin').
2024-02-13T00:46:57.413398Z ▲
2024-02-13T00:46:57.413579Z ▲ Import trace for requested module:
2024-02-13T00:46:57.41375Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.413939Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.414055Z ▲
2024-02-13T00:46:57.41418Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.41437Z ▲ Attempted import error: 'PrismaStorage' is not exported from '@blitzjs/auth' (imported as 'PrismaStorage').
2024-02-13T00:46:57.414492Z ▲
2024-02-13T00:46:57.414705Z ▲ Import trace for requested module:
2024-02-13T00:46:57.414872Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.414982Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.415201Z ▲
2024-02-13T00:46:57.415413Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.415618Z ▲ Attempted import error: 'simpleRolesIsAuthorized' is not exported from '@blitzjs/auth' (imported as 'simpleRolesIsAuthorized').
2024-02-13T00:46:57.415831Z ▲
2024-02-13T00:46:57.416009Z ▲ Import trace for requested module:
2024-02-13T00:46:57.416165Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.4163Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.416466Z ▲
2024-02-13T00:46:57.416625Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.41678Z ▲ Attempted import error: 'RpcServerPlugin' is not exported from '@blitzjs/rpc' (imported as 'RpcServerPlugin').
2024-02-13T00:46:57.416937Z ▲
2024-02-13T00:46:57.417097Z ▲ Import trace for requested module:
2024-02-13T00:46:57.417248Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.417422Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.417558Z ▲
2024-02-13T00:46:57.417688Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.417817Z ▲ Attempted import error: 'BlitzLogger' is not exported from 'blitz' (imported as 'BlitzLogger').
2024-02-13T00:46:57.417946Z ▲
2024-02-13T00:46:57.418083Z ▲ Import trace for requested module:
2024-02-13T00:46:57.41821Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.418355Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.418483Z ▲
2024-02-13T00:46:57.41861Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.418734Z ▲ Attempted import error: 'setupBlitzServer' is not exported from '@blitzjs/next' (imported as 'setupBlitzServer').
2024-02-13T00:46:57.418858Z ▲
2024-02-13T00:46:57.418989Z ▲ Import trace for requested module:
2024-02-13T00:46:57.419111Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.41923Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.419361Z ▲
2024-02-13T00:46:57.419483Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.419601Z ▲ Attempted import error: 'AuthServerPlugin' is not exported from '@blitzjs/auth' (imported as 'AuthServerPlugin').
2024-02-13T00:46:57.419721Z ▲
2024-02-13T00:46:57.419843Z ▲ Import trace for requested module:
2024-02-13T00:46:57.419962Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.420087Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.420203Z ▲
2024-02-13T00:46:57.420332Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.42045Z ▲ Attempted import error: 'PrismaStorage' is not exported from '@blitzjs/auth' (imported as 'PrismaStorage').
2024-02-13T00:46:57.42059Z ▲
2024-02-13T00:46:57.420712Z ▲ Import trace for requested module:
2024-02-13T00:46:57.420833Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.420953Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.421098Z ▲
2024-02-13T00:46:57.421224Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.421362Z ▲ Attempted import error: 'simpleRolesIsAuthorized' is not exported from '@blitzjs/auth' (imported as 'simpleRolesIsAuthorized').
2024-02-13T00:46:57.421486Z ▲
2024-02-13T00:46:57.421606Z ▲ Import trace for requested module:
2024-02-13T00:46:57.421733Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.42186Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.421995Z ▲
2024-02-13T00:46:57.422121Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.42224Z ▲ Attempted import error: 'RpcServerPlugin' is not exported from '@blitzjs/rpc' (imported as 'RpcServerPlugin').
2024-02-13T00:46:57.422369Z ▲
2024-02-13T00:46:57.422488Z ▲ Import trace for requested module:
2024-02-13T00:46:57.42262Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.422752Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.422883Z ▲
2024-02-13T00:46:57.423015Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.423144Z ▲ Attempted import error: 'BlitzLogger' is not exported from 'blitz' (imported as 'BlitzLogger').
2024-02-13T00:46:57.423271Z ▲
2024-02-13T00:46:57.423409Z ▲ Import trace for requested module:
2024-02-13T00:46:57.423536Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.423672Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.4238Z ▲
2024-02-13T00:46:57.423926Z ▲ ./src/pages/api/rpc/[[...blitz]].ts
2024-02-13T00:46:57.424054Z ▲ Attempted import error: 'rpcHandler' is not exported from '@blitzjs/rpc' (imported as 'rpcHandler').
2024-02-13T00:46:57.424176Z ▲
2024-02-13T00:46:57.424308Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.424446Z ▲ A Node.js API is used (setImmediate at line: 51) which is not supported in the Edge Runtime.
2024-02-13T00:46:57.42457Z ▲ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
2024-02-13T00:46:57.424701Z ▲
2024-02-13T00:46:57.424829Z ▲ Import trace for requested module:
2024-02-13T00:46:57.424953Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.425081Z ▲ ./node_modules/react-dom/node_modules/scheduler/index.js
2024-02-13T00:46:57.42521Z ▲ ./node_modules/react-dom/cjs/react-dom.production.min.js
2024-02-13T00:46:57.425338Z ▲ ./node_modules/react-dom/index.js
2024-02-13T00:46:57.425458Z ▲ ./node_modules/@tanstack/react-query/build/lib/reactBatchedUpdates.mjs
2024-02-13T00:46:57.425579Z ▲ ./node_modules/@tanstack/react-query/build/lib/setBatchUpdatesFn.mjs
2024-02-13T00:46:57.425703Z ▲ ./node_modules/@tanstack/react-query/build/lib/index.mjs
2024-02-13T00:46:57.425826Z ▲ ./node_modules/@blitzjs/rpc/dist/index-browser.mjs
2024-02-13T00:46:57.425972Z ▲
2024-02-13T00:46:57.426107Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.426225Z ▲ A Node.js API is used (setImmediate at line: 51) which is not supported in the Edge Runtime.
2024-02-13T00:46:57.426357Z ▲ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
2024-02-13T00:46:57.426478Z ▲
2024-02-13T00:46:57.426599Z ▲ Import trace for requested module:
2024-02-13T00:46:57.426722Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.426843Z ▲ ./node_modules/react-dom/node_modules/scheduler/index.js
2024-02-13T00:46:57.426972Z ▲ ./node_modules/react-dom/cjs/react-dom.production.min.js
2024-02-13T00:46:57.427093Z ▲ ./node_modules/react-dom/index.js
2024-02-13T00:46:57.427226Z ▲ ./node_modules/@tanstack/react-query/build/lib/reactBatchedUpdates.mjs
2024-02-13T00:46:57.427366Z ▲ ./node_modules/@tanstack/react-query/build/lib/setBatchUpdatesFn.mjs
2024-02-13T00:46:57.427495Z ▲ ./node_modules/@tanstack/react-query/build/lib/index.mjs
2024-02-13T00:46:57.427627Z ▲ ./node_modules/@blitzjs/rpc/dist/index-browser.mjs
2024-02-13T00:46:57.427754Z ▲
2024-02-13T00:46:57.427893Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.428023Z ▲ A Node.js API is used (MessageChannel at line: 120) which is not supported in the Edge Runtime.
2024-02-13T00:46:57.42815Z ▲ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
2024-02-13T00:46:57.42828Z ▲
2024-02-13T00:46:57.428429Z ▲ Import trace for requested module:
2024-02-13T00:46:57.428562Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.428693Z ▲ ./node_modules/react-dom/node_modules/scheduler/index.js
2024-02-13T00:46:57.428822Z ▲ ./node_modules/react-dom/cjs/react-dom.production.min.js
2024-02-13T00:46:57.42895Z ▲ ./node_modules/react-dom/index.js
2024-02-13T00:46:57.429091Z ▲ ./node_modules/@tanstack/react-query/build/lib/reactBatchedUpdates.mjs
2024-02-13T00:46:57.429216Z ▲ ./node_modules/@tanstack/react-query/build/lib/setBatchUpdatesFn.mjs
2024-02-13T00:46:57.429349Z ▲ ./node_modules/@tanstack/react-query/build/lib/index.mjs
2024-02-13T00:46:57.429483Z ▲ ./node_modules/@blitzjs/rpc/dist/index-browser.mjs
2024-02-13T00:46:57.429618Z ▲
2024-02-13T00:46:57.429747Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.429871Z ▲ A Node.js API is used (MessageChannel at line: 121) which is not supported in the Edge Runtime.
2024-02-13T00:46:57.430012Z ▲ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
2024-02-13T00:46:57.430134Z ▲
2024-02-13T00:46:57.43025Z ▲ Import trace for requested module:
2024-02-13T00:46:57.430379Z ▲ ./node_modules/react-dom/node_modules/scheduler/cjs/scheduler.production.min.js
2024-02-13T00:46:57.430511Z ▲ ./node_modules/react-dom/node_modules/scheduler/index.js
2024-02-13T00:46:57.430642Z ▲ ./node_modules/react-dom/cjs/react-dom.production.min.js
2024-02-13T00:46:57.43077Z ▲ ./node_modules/react-dom/index.js
2024-02-13T00:46:57.430906Z ▲ ./node_modules/@tanstack/react-query/build/lib/reactBatchedUpdates.mjs
2024-02-13T00:46:57.431044Z ▲ ./node_modules/@tanstack/react-query/build/lib/setBatchUpdatesFn.mjs
2024-02-13T00:46:57.43117Z ▲ ./node_modules/@tanstack/react-query/build/lib/index.mjs
2024-02-13T00:46:57.43129Z ▲ ./node_modules/@blitzjs/rpc/dist/index-browser.mjs
2024-02-13T00:46:57.431426Z ▲
2024-02-13T00:46:57.431555Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.431687Z ▲ Attempted import error: 'setupBlitzServer' is not exported from '@blitzjs/next' (imported as 'setupBlitzServer').
2024-02-13T00:46:57.431815Z ▲
2024-02-13T00:46:57.431942Z ▲ Import trace for requested module:
2024-02-13T00:46:57.432081Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.432421Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.432571Z ▲
2024-02-13T00:46:57.432706Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.432835Z ▲ Attempted import error: 'AuthServerPlugin' is not exported from '@blitzjs/auth' (imported as 'AuthServerPlugin').
2024-02-13T00:46:57.432972Z ▲
2024-02-13T00:46:57.4331Z ▲ Import trace for requested module:
2024-02-13T00:46:57.433225Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.433362Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.433491Z ▲
2024-02-13T00:46:57.43362Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.433742Z ▲ Attempted import error: 'PrismaStorage' is not exported from '@blitzjs/auth' (imported as 'PrismaStorage').
2024-02-13T00:46:57.433872Z ▲
2024-02-13T00:46:57.434002Z ▲ Import trace for requested module:
2024-02-13T00:46:57.434131Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.43426Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.434398Z ▲
2024-02-13T00:46:57.434525Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.434655Z ▲ Attempted import error: 'simpleRolesIsAuthorized' is not exported from '@blitzjs/auth' (imported as 'simpleRolesIsAuthorized').
2024-02-13T00:46:57.434802Z ▲
2024-02-13T00:46:57.434926Z ▲ Import trace for requested module:
2024-02-13T00:46:57.435058Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.435184Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.435306Z ▲
2024-02-13T00:46:57.435446Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.435573Z ▲ Attempted import error: 'RpcServerPlugin' is not exported from '@blitzjs/rpc' (imported as 'RpcServerPlugin').
2024-02-13T00:46:57.435706Z ▲
2024-02-13T00:46:57.435837Z ▲ Import trace for requested module:
2024-02-13T00:46:57.43597Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.436101Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.436226Z ▲
2024-02-13T00:46:57.43636Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.436492Z ▲ Attempted import error: 'BlitzLogger' is not exported from 'blitz' (imported as 'BlitzLogger').
2024-02-13T00:46:57.436622Z ▲
2024-02-13T00:46:57.436749Z ▲ Import trace for requested module:
2024-02-13T00:46:57.436896Z ▲ ./src/app/blitz-server.ts
2024-02-13T00:46:57.437034Z ▲ ./src/app/action.ts
2024-02-13T00:46:57.437162Z ▲
2024-02-13T00:46:57.437287Z ▲ ./node_modules/blitz/dist/chunks/index-browser.mjs
2024-02-13T00:46:57.437438Z ▲ A Node.js API is used (process.cwd at line: 155) which is not supported in the Edge Runtime.
2024-02-13T00:46:57.437568Z ▲ Learn more: https://nextjs.org/docs/api-reference/edge-runtime
2024-02-13T00:46:57.437699Z ▲
2024-02-13T00:46:57.437824Z ▲ Import trace for requested module:
2024-02-13T00:46:57.437968Z ▲ ./node_modules/blitz/dist/chunks/index-browser.mjs
2024-02-13T00:46:57.438097Z ▲ ./node_modules/blitz/dist/index-browser.mjs
2024-02-13T00:46:57.438223Z ▲ ./node_modules/@blitzjs/rpc/dist/index-browser.mjs
2024-02-13T00:46:57.438356Z ▲ �[37m�[1m �[22m�[39m Linting and checking validity of types ...
2024-02-13T00:47:01.519949Z ▲ �[37m�[1m �[22m�[39m Collecting page data ...
2024-02-13T00:47:03.052324Z ▲ �[33m�[1m⚠�[22m�[39m Using edge runtime on a page currently disables static generation for that page
2024-02-13T00:47:04.811348Z ▲ �[37m�[1m �[22m�[39m Generating static pages (0/3) ...
2024-02-13T00:47:05.273969Z ▲ �[32m�[1m✓�[22m�[39m Generating static pages (3/3)
2024-02-13T00:47:07.533746Z ▲ �[37m�[1m �[22m�[39m Finalizing page optimization ...
2024-02-13T00:47:07.534043Z ▲ �[37m�[1m �[22m�[39m Collecting build traces ...
2024-02-13T00:47:08.526461Z ▲
2024-02-13T00:47:08.531743Z ▲ �[4mRoute (app)�[24m �[4mSize�[24m �[4mFirst Load JS�[24m
2024-02-13T00:47:08.532051Z ▲ ┌ ℇ / 2.82 kB �[33m130 kB�[39m
2024-02-13T00:47:08.532179Z ▲ ├ ○ /_not-found 882 B �[32m81.4 kB�[39m
2024-02-13T00:47:08.532714Z ▲ ├ ℇ /contacts 2.22 kB �[32m111 kB�[39m
2024-02-13T00:47:08.532899Z ▲ ├ ℇ /contacts/[contactId] 2.22 kB �[32m111 kB�[39m
2024-02-13T00:47:08.533095Z ▲ ├ ℇ /contacts/[contactId]/edit 1.2 kB �[33m132 kB�[39m
2024-02-13T00:47:08.53328Z ▲ ├ ℇ /contacts/new 1.02 kB �[33m131 kB�[39m
2024-02-13T00:47:08.533465Z ▲ ├ ℇ /forgot-password 1.69 kB �[33m132 kB�[39m
2024-02-13T00:47:08.533598Z ▲ ├ ℇ /login 1.8 kB �[33m139 kB�[39m
2024-02-13T00:47:08.53374Z ▲ ├ ℇ /projects 2.21 kB �[32m111 kB�[39m
2024-02-13T00:47:08.533872Z ▲ ├ ℇ /projects/[projectId] 2.22 kB �[32m111 kB�[39m
2024-02-13T00:47:08.534006Z ▲ ├ ℇ /projects/[projectId]/edit 1.2 kB �[33m132 kB�[39m
2024-02-13T00:47:08.534138Z ▲ ├ ℇ /projects/new 1.02 kB �[33m131 kB�[39m
2024-02-13T00:47:08.534285Z ▲ ├ ℇ /reset-password 1.76 kB �[33m139 kB�[39m
2024-02-13T00:47:08.534432Z ▲ └ ℇ /signup 1.69 kB �[33m132 kB�[39m
2024-02-13T00:47:08.534628Z ▲ + First Load JS shared by all �[32m80.5 kB�[39m
2024-02-13T00:47:08.534794Z ▲ ├ chunks/12-5a4fb1462f3d1d53.js 27.5 kB
2024-02-13T00:47:08.534928Z ▲ ├ chunks/fd9d1056-06bd3bcfa31b9bbf.js 51 kB
2024-02-13T00:47:08.535057Z ▲ ├ chunks/main-app-82aa4b643aa485cf.js 251 B
2024-02-13T00:47:08.535184Z ▲ └ chunks/webpack-c199054432a99e40.js 1.81 kB
2024-02-13T00:47:08.535319Z ▲
2024-02-13T00:47:08.535456Z ▲ �[4mRoute (pages)�[24m �[4mSize�[24m �[4mFirst Load JS�[24m
2024-02-13T00:47:08.535598Z ▲ ─ ℇ /api/rpc/[[...blitz]] 0 B �[32m80.1 kB�[39m
2024-02-13T00:47:08.535739Z ▲ + First Load JS shared by all �[32m80.1 kB�[39m
2024-02-13T00:47:08.535877Z ▲ ├ chunks/framework-89837f5784be6e42.js 45.2 kB
2024-02-13T00:47:08.536004Z ▲ ├ chunks/main-7bfc1d227c2f2558.js 32.9 kB
2024-02-13T00:47:08.536131Z ▲ ├ chunks/pages/_app-27277a117f49dcf1.js 207 B
2024-02-13T00:47:08.536262Z ▲ └ chunks/webpack-c199054432a99e40.js 1.81 kB
2024-02-13T00:47:08.536457Z ▲ ℇ (Streaming) server-side renders with streaming (uses React 18 SSR streaming or Server Components)
2024-02-13T00:47:08.536587Z ▲ ○ (Static) automatically rendered as static HTML (uses no initial props)
2024-02-13T00:47:09.658931Z ▲ Traced Next.js server files in: 998.42ms
2024-02-13T00:47:10.710551Z ▲ Created all serverless functions in: 1.051s
2024-02-13T00:47:12.142437Z ▲ Collected static files (public/, static/, .next/static): 9.784ms
2024-02-13T00:47:12.359073Z ▲ Build Completed in .vercel/output [43s]
2024-02-13T00:47:12.466589Z ⚡️ Completed npx vercel build.
2024-02-13T00:47:16.049423Z
2024-02-13T00:47:16.04977Z ⚡️ Build Summary (@cloudflare/next-on-pages v1.8.6)
2024-02-13T00:47:16.049904Z ⚡️
2024-02-13T00:47:16.050052Z ⚡️ Edge Function Routes (14)
2024-02-13T00:47:16.050203Z ⚡️ ┌ /
2024-02-13T00:47:16.050389Z ⚡️ ├ /api/rpc/[[...blitz]]
2024-02-13T00:47:16.050571Z ⚡️ ├ /contacts
2024-02-13T00:47:16.050709Z ⚡️ ├ /contacts/[contactId]
2024-02-13T00:47:16.050842Z ⚡️ ├ /contacts/[contactId]/edit
2024-02-13T00:47:16.050985Z ⚡️ ├ /contacts/new
2024-02-13T00:47:16.051121Z ⚡️ ├ /forgot-password
2024-02-13T00:47:16.05126Z ⚡️ ├ /login
2024-02-13T00:47:16.051406Z ⚡️ ├ /projects
2024-02-13T00:47:16.051542Z ⚡️ ├ /projects/[projectId]
2024-02-13T00:47:16.051743Z ⚡️ ├ /projects/[projectId]/edit
2024-02-13T00:47:16.051915Z ⚡️ ├ /projects/new
2024-02-13T00:47:16.052091Z ⚡️ ├ /reset-password
2024-02-13T00:47:16.052216Z ⚡️ └ /signup
2024-02-13T00:47:16.052415Z ⚡️
2024-02-13T00:47:16.052601Z ⚡️ Other Static Assets (55)
2024-02-13T00:47:16.052769Z ⚡️ ┌ /_app.rsc.json
2024-02-13T00:47:16.052956Z ⚡️ ├ /_document.rsc.json
2024-02-13T00:47:16.053255Z ⚡️ ├ /_error.rsc.json
2024-02-13T00:47:16.053519Z ⚡️ ├ /404.html
2024-02-13T00:47:16.053708Z ⚡️ └ ... 51 more
2024-02-13T00:47:16.05386Z
2024-02-13T00:47:16.055904Z ⚡️ Build log saved to '.vercel/output/static/_worker.js/nop-build-log.json'
2024-02-13T00:47:16.056249Z ⚡️ Generated '.vercel/output/static/_worker.js/index.js'.
2024-02-13T00:47:16.05646Z ⚡️ Build completed in 3.59s
2024-02-13T00:47:16.099908Z Finished
2024-02-13T00:47:16.100436Z Found _worker.js in output directory. Uploading.
2024-02-13T00:47:17.211735Z Attaching additional modules:
2024-02-13T00:47:17.212602Z - next-on-pages-dist/cache/adaptor.js (esm)
2024-02-13T00:47:17.212796Z - next-on-pages-dist/cache/cache-api.js (esm)
2024-02-13T00:47:17.212967Z - next-on-pages-dist/cache/kv.js (esm)
2024-02-13T00:47:17.21312Z - next-on-pages-dist/functions/api/rpc/[[...blitz]].func.js (esm)
2024-02-13T00:47:17.213413Z - next-on-pages-dist/functions/contacts/[contactId]/edit.func.js (esm)
2024-02-13T00:47:17.213574Z - next-on-pages-dist/functions/contacts/[contactId].func.js (esm)
2024-02-13T00:47:17.213743Z - next-on-pages-dist/functions/contacts/new.func.js (esm)
2024-02-13T00:47:17.213904Z - next-on-pages-dist/functions/contacts.func.js (esm)
2024-02-13T00:47:17.214051Z - next-on-pages-dist/functions/forgot-password.func.js (esm)
2024-02-13T00:47:17.214875Z - next-on-pages-dist/functions/index.func.js (esm)
2024-02-13T00:47:17.215094Z - next-on-pages-dist/functions/login.func.js (esm)
2024-02-13T00:47:17.215278Z - next-on-pages-dist/functions/projects/[projectId]/edit.func.js (esm)
2024-02-13T00:47:17.215462Z - next-on-pages-dist/functions/projects/[projectId].func.js (esm)
2024-02-13T00:47:17.215632Z - next-on-pages-dist/functions/projects/new.func.js (esm)
2024-02-13T00:47:17.215788Z - next-on-pages-dist/functions/projects.func.js (esm)
2024-02-13T00:47:17.21596Z - next-on-pages-dist/functions/reset-password.func.js (esm)
2024-02-13T00:47:17.216107Z - next-on-pages-dist/functions/signup.func.js (esm)
2024-02-13T00:47:17.216249Z - next-on-pages-dist/manifest/8979b518535174c7eb8d77a6d5a08905.js (esm)
2024-02-13T00:47:17.216398Z - next-on-pages-dist/webpack/164be3d45d8149bea2cbd55366e9b13e.js (esm)
2024-02-13T00:47:17.216534Z - next-on-pages-dist/webpack/314052b67f841c4c79b4029806900164.js (esm)
2024-02-13T00:47:17.216665Z - next-on-pages-dist/webpack/4e2e142f082ef9e965d491f5c46778fc.js (esm)
2024-02-13T00:47:17.21681Z - next-on-pages-dist/webpack/5ab19fbfc3393939f2cae0ab60eb9601.js (esm)
2024-02-13T00:47:17.216951Z - next-on-pages-dist/webpack/6789.js (esm)
2024-02-13T00:47:17.217093Z - next-on-pages-dist/webpack/6918.js (esm)
2024-02-13T00:47:17.21724Z - next-on-pages-dist/webpack/6b5ccf92bc0f989c2a07c1336abe5243.js (esm)
2024-02-13T00:47:17.217403Z - next-on-pages-dist/webpack/7114.js (esm)
2024-02-13T00:47:17.217542Z - next-on-pages-dist/webpack/7368.js (esm)
2024-02-13T00:47:17.217677Z - next-on-pages-dist/webpack/7729.js (esm)
2024-02-13T00:47:17.217824Z - next-on-pages-dist/webpack/7f844fb74cf5573e58425ab1416bce58.js (esm)
2024-02-13T00:47:17.217952Z - next-on-pages-dist/webpack/de8dbe71031e44cd5448d28a45d72e46.js (esm)
2024-02-13T00:47:17.218079Z - next-on-pages-dist/webpack/f35eab643768b6d490b2beb44b9d5025.js (esm)
2024-02-13T00:47:17.218216Z - next-on-pages-dist/webpack/ff9166570c73944d54c743a99aa8b98f.js (esm)
2024-02-13T00:47:17.278048Z ✨ Compiled Worker successfully
2024-02-13T00:47:17.353727Z Found _routes.json in output directory. Uploading.
2024-02-13T00:47:17.368353Z Validating asset output directory
2024-02-13T00:47:18.33202Z Deploying your site to Cloudflare's global network...
2024-02-13T00:47:20.938083Z Parsed 1 valid header rule.
2024-02-13T00:47:22.345607Z Uploading... (0/56)
2024-02-13T00:47:23.138514Z Uploading... (18/56)
2024-02-13T00:47:23.31914Z Uploading... (37/56)
2024-02-13T00:47:23.812418Z Uploading... (56/56)
2024-02-13T00:47:23.812722Z ✨ Success! Uploaded 56 files (1.94 sec)
2024-02-13T00:47:23.812921Z
2024-02-13T00:47:24.222392Z ✨ Upload complete!
2024-02-13T00:47:26.461353Z Success: Assets published!
2024-02-13T00:47:29.830126Z Success: Your site was deployed!