You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe #44 should add proper support for basePath on next-on-pages. I've got the changes in the PR available in .patch that can be applied using something like patch-package
(unrelated, also in the patch, I've disabled the prepInstall function because I've been using Pages direct upload and next-on-pages doesn't yet support many package managers (#11), if desired I can create a new patch without that change..
Will this fix be accepted in the near future? I utilize basePath extensively as well and am using Pages' GitHub integration, which causes the build to fail with this same error.
Out of the box, everything works
✅ Works as expected
Following steps 1 - 4 from the (README)[https://github.com/cloudflare/next-on-pages#quick-start]
✅ Works as expected
npx @cloudflare/next-on-pages --experimental-minify
✅ Deploys as expected
npx wrangler pages publish .vercel/output/static/
However, with basePath
Add
basePath
tonext.config.js
❌ Does not work.
npx @cloudflare/next-on-pages --experimental-minify
Build completes, but logs the following ERROR:
ERROR: Could not map all functions to an entry in the manifest.
Furthermore, if I proceed to deploy the application, I get a browser HTTP ERROR 404 at
/base-path
and the application's 404 page at/base-path/
The text was updated successfully, but these errors were encountered: