App reviews, troubleshooting, and recommendations
I have run "npm init @Shopify/app@latest" to scaffold a new app to become a new sales channel. However, the app generated does not work out of the box. I have already had to modify the shopify.web.toml file to add back in missing fields to get past the first error message.
Now I have another error message which is "Error: Prisma session table does not exist. This could happen for a few reasons, see https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-app-session-storage-prisma#trou... for more". I never did anything to set up Prisma but is there anything I need to do? Someone explain this problem to me.
Solved! Go to the solution
This is an accepted solution.
I was able to solve the problem. You have to run the site using "npm run dev" and not "shopify app dev" now unlike in prior versions of shopify cli. That will run the db migration which is also how the db is created in the first place.
Hi I see your problem
1. Did you try clearing cache npm and retrying ?
2. Deleting project and retrying ?
3. editing schema.prisma file.
lmk if ya need help
This is an accepted solution.
I was able to solve the problem. You have to run the site using "npm run dev" and not "shopify app dev" now unlike in prior versions of shopify cli. That will run the db migration which is also how the db is created in the first place.
Hi, I'm facing the same issue when deploying to DigitalOcean, and other providers like fly.io seem to be working fine. Do you know what might be the issue?
Did you manage to fix this? For me, it works fine in fly.io but getting "Error: Prisma session table does not exist. This could happen for
a few reasons, see https://github.com/Shopify/shopify-app-js/tree/main/packages/shopify-ap
p-session-storage-prisma#troubleshooting for more information" when running locally.
Hey @Boris__ hope you are fine.
Did you figure it out? i am facing same issue during deploying shopify app on Heroku.
@syedusama0786 I HAVE GIVEN THE SOLUTION ABOVE.
Yes but it is for localhost but when i was getting this error after deploying my app. I wasn't deploy app through docker that's why i was getting that error but when i deployed it through docker the error was gone and the app was working fine. Now my app is working smooth and fine. Thanks for help
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025