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

    Skye

    11/19/2022, 11:39 AM
    but you can see that the pull request was remade - there's no point reopening that one
  • b

    ben20-1

    11/19/2022, 11:40 AM
    right didnt see
  • b

    ben20-1

    11/19/2022, 11:40 AM
    well so in the mean time there is no work aroud to run functions with nextjs ?
  • s

    Skye

    11/19/2022, 11:41 AM
    there may be one - i just don't know it, i don't use next at all
  • b

    ben20-1

    11/19/2022, 12:34 PM
    tried to give this adapter you guys built a try but got stopped here => https://github.com/cloudflare/next-on-pages/issues/17
  • b

    ben20-1

    11/19/2022, 1:24 PM
    any other ui framework that support cloudflare edge runtime and is known to work at the moment btw ?
  • h

    HardAtWork

    11/19/2022, 1:32 PM
    Nuxt3?
  • d

    dave

    11/19/2022, 4:33 PM
    Will it be more of a Monday thing to fix? (Just wondering since the girlfriend is out of the house now and I can get some work done this weekend. 😛 )
  • w

    Walshy | Pages

    11/19/2022, 4:56 PM
    Definitely, it isn't an incident. I want to enjoy my weekend too :p
  • s

    Sid | Pages

    11/19/2022, 6:09 PM
    Hello hello
  • s

    Sid | Pages

    11/19/2022, 6:10 PM
    Yup, definitely a Monday thing. Sorry for the bug. I’m OOO but I’ll work with @Walshy | Pages to help get this sorted on Monday. Cheers.
  • c

    Cоlе

    11/19/2022, 8:15 PM
    Curious about this too. Was pulling my hair out all yesterday w/ my sveltekit project, seemed like something internally w/ the sveltekit bundle was calling
    JSON.parse
    on a page that was 500-ing.
  • c

    Cоlе

    11/19/2022, 8:16 PM
    Couldn't reverse engineer it, came here as a last ditch effort. Hopefully this is my issue too lol. Although, the new tail for pages was really helpful
  • n

    Neicudi

    11/19/2022, 8:30 PM
    Which bug are you talking about? Just curious as my Sveltekit project seems to run fine (aside from not getting any logs when deployed still)
  • c

    Cоlе

    11/20/2022, 2:00 AM
    Service bindings specifically
  • c

    chrisjmccreadie

    11/20/2022, 7:10 AM
    anyone help with a pages function issue I set the --d1 flag to my env on the dasboard but its always undefined wrangler pages dev _site --binding SECRET=fdfdf --d1=database --kv=kvdata --local --live-reload & do I need a local sql db file like we do witk KV?
  • s

    salutalice

    11/20/2022, 8:42 AM
    To make it usable through multiple sessions locally you need the persistent flag
  • c

    chrisjmccreadie

    11/20/2022, 9:29 AM
    persist for make the database binding work?
  • s

    Skye

    11/20/2022, 11:28 AM
    You just need to add
    --persist
    for it to store in your file system rather than in memory
  • c

    chrisjmccreadie

    11/20/2022, 11:40 AM
    Ok thanks I will give it a try
  • c

    chrisjmccreadie

    11/20/2022, 11:41 AM
    But I think the issue is with the binding being undefined
  • c

    chrisjmccreadie

    11/20/2022, 11:41 AM
    I will test after the gym
  • c

    chrisjmccreadie

    11/20/2022, 3:46 PM
    I am still getting the same thing with --persist to be clear this is a pages function. If I use a woker it works fine wrangler pages dev _site --persist --d1=test3 --binding SECRET=fdfdf --kv=kvdata --local --live-reload & GET /favicon.ico 304 Not Modified (10.64ms) { kvdata: KVNamespace {}, ASSETS: Fetcher {}, SECRET: 'fdfdf', test3: undefined }
  • c

    chrisjmccreadie

    11/20/2022, 3:48 PM
    and I created the database using the Cloudflare dashboard (if this makes any difference)
  • s

    Skye

    11/20/2022, 4:15 PM
    Looks like this is known for pages
  • s

    salutalice

    11/20/2022, 4:18 PM
    What options of hashing data in pages functions do we have ? Is bcrypt usable ?
  • c

    chrisjmccreadie

    11/20/2022, 4:21 PM
    ok thanks for the help @Skye I am sure they will be working on it. I monitor that issue
  • c

    chrisjmccreadie

    11/20/2022, 4:23 PM
    i remember --kv had similar issues at the start then one day (like magic) it started working 🙂
  • c

    calebhailey

    11/20/2022, 5:20 PM
    oh hey, I got a PR merged on the Pages Functions docs! 🙌 https://github.com/cloudflare/cloudflare-docs/pull/6764 just a minor typo, but feels good to help fix small paper cuts. 😊
  • m

    muslax

    11/20/2022, 5:59 PM
    Anyone knows how to get workers binding work with nextjs?
1...306307308...392Latest