Last 12 weeks · 0 commits
2 of 6 standards met
Repository: vercel/sveltekit-commerce. Description: SvelteKit Commerce Stars: 442, Forks: 85. Primary language: Svelte. Languages: Svelte (69.7%), JavaScript (28.2%), CSS (1.2%), HTML (0.8%). License: MIT. Homepage: https://sveltekit-commerce.vercel.app Topics: svelte, sveltekit. Open PRs: 1, open issues: 5. Last activity: 1y ago. Community health: 50%. Top contributors: leerob, StephDietz, alessandrojcm, dominikg, dummdidumm.
Okay so, I deployed the project to Vercel. All running. But now that I want to connect my Shopify store, I have troubles finding the API variables that works. I created an App in my store, set the storefront api for VITE_SHOPIFY_STOREFRONT_API_TOKEN and my admin api for VITE_SHOPIFY_API_ENDPOINT. Still, I receive an error when I load the page (err 500). I have a test product in my store. What else I'm missing? Thanks in advance.
There's still some bugs in this example (and also we needed to decommission the old Shopify store). For example, it seems that closes the modal, but clicking outside or using close isn't working as expected. Similarly, there are some issues incrementing cart items. In some instances, incrementing doesn't work until you refresh the page, and then the quantity correctly updates. Looks like there's some outstanding issues for these in the repo that would be nice to clean up, but didn't have time to do them here.
I've tried to deploy this template without any modifications on Vercel and it fails. .../esbuild@0.16.17/node_modules/esbuild postinstall: Done .../node_modules/node-sass install$ node scripts/install.js Progress: resolved 378, reused 0, downloaded 378, added 378, done .../node_modules/node-sass install: Downloading binary from https://github.com/sass/node-sass/releases/download/v8.0.0/linux-x64-115_binding.node .../node_modules/node-sass install: Download complete .../node_modules/node-sass install: Binary saved to /vercel/path0/node_modules/.pnpm/node-sass@8.0.0/node_modules/node-sass/vendor/linux-x64-115/binding.node .../node_modules/node-sass install: Done .../node_modules/node-sass postinstall$ node scripts/build.js .../node_modules/node-sass postinstall: Binary found at /vercel/path0/node_modules/.pnpm/node-sass@8.0.0/node_modules/node-sass/vendor/linux-x64-115/binding.node .../node_modules/node-sass postinstall: Testing binary .../node_modules/node-sass postinstall: Binary has a problem: Error: /vercel/path0/node_modules/.pnpm/node-sass@8.0.0/node_modules/node-sass/vendor/linux-x64-115/binding.node: file too short