Proceeding to checkout gives 500 [GET] /cart/c/c1-abcd?key=1234 status=500
danieldanielecki opened this issue · comments
✅ Daniel Danielecki commented
[GET] /cart/c/c1-d22d6732a08c2dfb337d1dbfbfc01e9b?key=ddf427ea328138a27e121d517a7144c5 status=500
⨯ Error: Cannot find module '/var/task/.next/server/app/page.js'
Require stack:
- /var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
- /var/task/___next_launcher.cjs
- /var/task/___vc/__launcher/chunk-N3ULQXIM.js
- /var/task/___vc/__launcher/chunk-5UAC7W5H.js
- /var/task/___vc/__launcher/__launcher.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at /var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:11:25516
at Module._load (node:internal/modules/cjs/loader:975:27)
at exports.b (/var/task/___vc/__launcher/chunk-5UAC7W5H.js:1:1033)
at /var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1443
at Function.Re (/var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1809)
at e.<computed>.L._load (/var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1413)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at w.require (/var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:11:25732)
at require (node:internal/modules/helpers:177:18) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js',
'/var/task/___next_launcher.cjs',
'/var/task/___vc/__launcher/chunk-N3ULQXIM.js',
'/var/task/___vc/__launcher/chunk-5UAC7W5H.js',
'/var/task/___vc/__launcher/__launcher.js'
],
page: '/'
}
Error: Cannot find module '/var/task/.next/server/app/page.js'
Require stack:
- /var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
- /var/task/___next_launcher.cjs
- /var/task/___vc/__launcher/chunk-N3ULQXIM.js
- /var/task/___vc/__launcher/chunk-5UAC7W5H.js
- /var/task/___vc/__launcher/__launcher.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at /var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:11:25516
at Module._load (node:internal/modules/cjs/loader:975:27)
at exports.b (/var/task/___vc/__launcher/chunk-5UAC7W5H.js:1:1033)
at /var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1443
at Function.Re (/var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1809)
at e.<computed>.L._load (/var/task/___vc/__launcher/bridge-server-BGIDXK2J.js:1:1413)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at w.require (/var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:11:25732)
at require (node:internal/modules/helpers:177:18) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/var/task/node_modules/.pnpm/next@14.0.0_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/compiled/next-server/server.runtime.prod.js',
'/var/task/___next_launcher.cjs',
'/var/task/___vc/__launcher/chunk-N3ULQXIM.js',
'/var/task/___vc/__launcher/chunk-5UAC7W5H.js',
'/var/task/___vc/__launcher/__launcher.js'
],
page: '/'
}
Error: Runtime exited with error: exit status 1
✅ Daniel Danielecki commented
Project live: https://shop.ditectrev.com
Lee Robinson commented
It's hard to tell what this could be since its from your own forked code that is not in this template, right? We don't have a /cart/
route included.
✅ Daniel Danielecki commented
I haven't done any coding other than changing the logo, repo (sorry, I didn't link): https://github.com/Ditectrev/shop
✅ Daniel Danielecki commented
Can you check #1274? Maybe some redirection misconfiguration it causing this?