https://discord.cloudflare.com logo
Join Discord
Powered by
# functions
  • w

    Walshy | Pages

    02/15/2023, 6:35 PM
    👀
  • w

    Walshy | Pages

    02/15/2023, 6:35 PM
    What's your pages.dev and what paths?
  • z

    zsmooth

    02/15/2023, 6:37 PM
    https://skyridgecheer-com-notion.pages.dev/ all paths - it's a remix site
  • z

    zsmooth

    02/15/2023, 6:38 PM
    i tried forcing a couple new deployments, didn't help
  • w

    Walshy | Pages

    02/15/2023, 6:38 PM
    It's working for me, what's the output in /cdn-cgi/trace?
  • z

    zsmooth

    02/15/2023, 6:40 PM
    it's loading for you? do you mean, in the function logs?
  • w

    Walshy | Pages

    02/15/2023, 6:40 PM
    The site loads for me
  • z

    zsmooth

    02/15/2023, 6:41 PM
    hmm, it won't load for me, in private browsers or anything...
  • s

    Skye

    02/15/2023, 6:41 PM
    Also loads for me 🤔
  • w

    Walshy | Pages

    02/15/2023, 6:41 PM
    What's your trace output? can you DM it me
  • z

    zsmooth

    02/15/2023, 6:42 PM
    if i vpn somewhere else, it does load...
  • z

    zsmooth

    02/15/2023, 6:43 PM
    i do have an Access policy covering /admin
  • u

    Unsmart | Tech debt

    02/15/2023, 6:43 PM
    Its probably a colo issue which is why walshy needs the trace output
  • z

    zsmooth

    02/15/2023, 6:44 PM
    i DM'd it to him
  • z

    zsmooth

    02/15/2023, 6:48 PM
    does appear to be a colo issue... bummer
  • z

    zsmooth

    02/15/2023, 6:49 PM
    if i hit other pages apps from a different account, they work and i appear to hit DEN (SLC looks to be the broken one)
  • w

    Walshy | Pages

    02/15/2023, 6:50 PM
    Raised with the Worker team
  • z

    zsmooth

    02/15/2023, 7:02 PM
    appears to be working now, FYI. (i'm getting routed away from SLC, at least)
  • w

    Walshy | Pages

    02/15/2023, 7:03 PM
    Workers team is reverting the release
  • w

    Walshy | Pages

    02/15/2023, 7:03 PM
    Thanks for the report @zsmooth
  • z

    zsmooth

    02/15/2023, 7:12 PM
    thanks for the quick escalation!
  • z

    zsmooth

    02/15/2023, 7:16 PM
    well, i'm getting routed to SLC again, and still broken...
  • z

    zsmooth

    02/15/2023, 7:21 PM
    ... and now i'm still hitting SLC, and it's working 🙂
  • c

    cristian.chera

    02/15/2023, 11:18 PM
    Hi all, is there any way I can setup Angular Universal (SSR) with cloudflare functions?
    • 1
    • 1
  • a

    Arthur

    02/16/2023, 8:05 AM
    Hi there, the
    @cloudflare/pages-plugin-mailchannels
    package does not have
    "type": "module"
    in its
    package.json
    , therefore when trying to use it. It throws an exception, can this be resolved? Thanks ♥
  • k

    kian

    02/16/2023, 8:11 AM
    What's the exception? None of the plugins have that in their package.json & they all work fine
  • a

    Arthur

    02/16/2023, 8:33 AM
    Oh, heh
  • a

    Arthur

    02/16/2023, 8:35 AM
    I'm using sveltekit and when building it fails:
    Copy code
    08:59:26.671    (node:1555) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
    08:59:26.672    (Use `node --trace-warnings ...` to show where the warning was created)
    08:59:26.674    /opt/buildhome/repo/node_modules/@cloudflare/pages-plugin-mailchannels/index.js:893
    08:59:26.674    export {
    08:59:26.675    ^^^^^^
    08:59:26.675    
    08:59:26.675    SyntaxError: Unexpected token 'export'
    08:59:26.675        at Object.compileFunction (node:vm:360:18)
    08:59:26.675        at wrapSafe (node:internal/modules/cjs/loader:1094:15)
    08:59:26.676        at Module._compile (node:internal/modules/cjs/loader:1129:27)
    08:59:26.676        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
    08:59:26.676        at Module.load (node:internal/modules/cjs/loader:1043:32)
    08:59:26.676        at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    08:59:26.676        at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    08:59:26.676        at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    08:59:26.676        at async Promise.all (index 0)
    08:59:26.676        at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    08:59:26.685    [vite-plugin-sveltekit-compile] Failed with code 1
    08:59:26.686    error during build:
    08:59:26.686    Error: Failed with code 1
    08:59:26.687        at ChildProcess.<anonymous> (file:///opt/buildhome/repo/node_modules/@sveltejs/kit/src/utils/fork.js:68:13)
    08:59:26.687        at ChildProcess.emit (node:events:513:28)
    08:59:26.687        at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
    08:59:26.711    Failed: build command exited with code: 1
    08:59:27.612    Failed: an internal error occurred
  • k

    kian

    02/16/2023, 8:36 AM
    What Node version is it using? You'll see it in the logs towards the beginning
  • a

    Arthur

    02/16/2023, 8:36 AM
    16
1...345346347...392Latest