Shopify / Shopify/shopify-app-template-node
vendors-node_modules_shopify_polaris_build_esnext_components_AppProvider_AppProvider_esnext-n-40f15c-ef761ddf01764843878b00626610e74c5aa1e8ecb0b0b0e714803e88ac608ef5.js:2 Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 434
- PR merge metrics
- No merged PRs in 30d
Description
Issue summary
vendors-node_modules_shopify_polaris_build_esnext_components_AppProvider_AppProvider_esnext-n-40f15c-ef761ddf01764843878b00626610e74c5aa1e8ecb0b0b0e714803e88ac608ef5.js:2 Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Write a short description of the issue here ↓
app show some build
Expected behavior
when vite build successfully build then no error
What do you think should happen?
if any error in code line build shoud show the exact line of error
Actual behavior
What actually happens?
i have create custom session stoage in mongodb it was work with ngrok proxy when i move code to the production server it was not creating session.
Tip: include an error message (in a <details></details> tag) if your issue is related to an error
https://github.com/Shopify/shopify-api-node/blob/main/docs/usage/customsessions.md
after app initialize ** CustomSessionStorage {
storeCallback: [AsyncFunction: storeCallback],
loadCallback: [AsyncFunction: loadCallback],
deleteCallback: [AsyncFunction: deleteCallback],
deleteSessionsCallback: undefined,
findSessionsByShopCallback: undefined
Error after app install app get installed :
**The app couldn’t be loaded
This app can’t load due to an issue with browser cookies. Try enabling cookies in your browser, switching to another browser, or contacting the developer to get support.****
on store but app not loading i can see the custom session create on database side
Steps to reproduce the problem
take clone repo and and host to production server
setup app
try to install app it give error
Reduced test case
The best way to get your bug fixed is to provide a reduced test case.
Specifications
- Browser: chrome
- Device: HP
- Operating System: Ubuntu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the installation flow on the production server described in the issue, then compare it with the ngrok setup. Read docs/usage/customsessions.md and inspect the custom session callbacks and browser-cookie behavior around installation. Done means the app installs and loads in production without the React error, with the session stored and usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, react
- Domain
- authentication, backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100