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
Bundling with opennextjs-cloudflare build && opennextjs-cloudflare preview creates the following error on windows
X [ERROR] Could not resolve "C:UsersuserDocumentsProgramsmy-website.nextserveredge-runtime-webpack.js"
node_modules/@opennextjs/aws/dist/core/edgeFunctionHandler.js:8:8:
8 │ require("C:\Users\user\Documents\Programs\my-website\.next\server\edge-r...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path
"C:UsersuserDocumentsProgramsmy-website.nextserveredge-runtime-webpack.js" as
external to exclude it from the bundle, which will remove this error. You can also surround this
"require" call with a try/catch block to handle this failure at run-time instead of bundle-time.
The text was updated successfully, but these errors were encountered:
I'm gonna close this one as it is a duplicate.
If you wanna help, james is working on it in opennextjs/opennextjs-cloudflare#577. Provide him a reproduction, it may help
Bundling with
opennextjs-cloudflare build && opennextjs-cloudflare preview
creates the following error on windowsThe text was updated successfully, but these errors were encountered: