Hi James – yes I believe ` cloudflare

Hi @Better James – yes, I believe @cloudflare/next-on-pages is what's being used under the hood (it's a bit opaque, but I see that in the docs and in node_modules). Will test out the new release, thank you!
12 Replies
mshwery
mshweryOP2y ago
looks like this still isn't working. i'm inspecting the build a bit – is there a good place you can point me to inspect locally?
James
James2y ago
Can you please check the build log to confirm that the build was the with the prerelease in the PR. At the start of the build log you should see the next-on-pages version
mshwery
mshweryOP2y ago
heh... so it is installed, but seems like something during the build wants its own version:
No description
No description
mshwery
mshweryOP2y ago
This command Executing user command: npx @cloudflare/next-on-pages@1
James
James2y ago
Ah, try changing the build command in your pages project settings You should be able to change it to npx {URL for prerelease} and it'll build with it
mshwery
mshweryOP2y ago
Is this in the Cloudflare UI or in the repo in some configuration? We don't specify anything other than the typical package.json next export and next build. aha found it
James
James2y ago
Yeah it's just inside the pages project on the dashboard 😛
mshwery
mshweryOP2y ago
I think it should work fine with npx @cloudflare/next-on-pages without specifying @1 or any version/url.
James
James2y ago
Feel free to give it a go 🙂
mshwery
mshweryOP2y ago
🤞
No description
mshwery
mshweryOP2y ago
it works! ty ship it 🙂
James
James2y ago
Perfect. I'll push for a release in the next couple of days. Will shoot a message here to let you know when it's released 👍 Apologies for the delay @mshwery, the fix is now released in 1.3.1.
Want results from more Discord servers?
Add your server