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
When we try to update any of the cart items from the cart page, it prevents me to do so and throws an error
Describe the bug
The error is obviously happens when the SessionProvider tries to send a POST request to the nextjs API api/cart/update. This request failes with 500 error.
I can also see below error in the console
TypeError: resolver is not a function
at apiResolver (/Users/rajeevktomy/Desktop/projects/javascript/rsf-db/node_modules/next/dist/next-server/server/api-utils.js:8:7)
at DevServer.handleApiRequest (/Users/rajeevktomy/Desktop/projects/javascript/rsf-db/node_modules/next/dist/next-server/server/next-server.js:48:427)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Start the application npm start
Load the application in the URL: http://localhost:3000/
Add a product to the cart
Visit the cart page
Try to increment or decrement the quantity
It ends up with an error popup
Expected behavior
It should increment or decrement the quantity of the quote item.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
OS: macOS Catalina 10.15.4
Browser: chrome, safari
Version of React Storefront: 8.15.1
The text was updated successfully, but these errors were encountered:
Bug report
When we try to update any of the cart items from the cart page, it prevents me to do so and throws an error
Describe the bug
The error is obviously happens when the
SessionProvider
tries to send a POST request to the nextjs APIapi/cart/update
. This request failes with 500 error.I can also see below error in the console
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
npm start
http://localhost:3000/
Expected behavior
It should increment or decrement the quantity of the quote item.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
The text was updated successfully, but these errors were encountered: