#Netlify Adapter error getDeployStore

3 messages · Page 1 of 1 (latest)

narrow minnow
#

Why am I getting this error:

"getDeployStore" is not exported by "__vite-optional-peer-dep:@netlify/blobs:unstorage", imported by "node_modules/unstorage/drivers/netlify-blobs.mjs".
file: /home/user/eriksolsen.com/node_modules/unstorage/drivers/netlify-blobs.mjs:2:19

gilded bloomBOT
#

Hi @narrow minnow. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I can’t find this exact error in the provided docs. However, it looks related to Astro Sessions using the Netlify Blobs driver (via unstorage) when the Netlify adapter is installed. The Netlify adapter automatically configures Netlify Blobs for session storage, but if the required blob runtime support or package interop isn’t available, builds can fail from the unstorage Netlify driver import path you’re seeing (Sessions on Netlify, Session options).

What you can do based on the docs:

  • Temporarily switch the session driver to a different unstorage driver (e.g., Redis) to confirm the issue is with the Netlify Blobs driver: set session.driver and options in astro.config.mjs (Session options).
  • If you don’t need sessions, disable them (remove session config) to avoid using Netlify Blobs by default with the Netlify adapter (Sessions on Netlify).
  • If this only happens in dev, try disabling Netlify dev features to isolate: adapter: netlify({ devFeatures: { images: false, environmentVariables: false }}) (Local development features).

If you still need Netlify Blobs sessions, the docs don’t provide further troubleshooting for this specific export error. I’m sorry, but there’s no information about this exact “getDeployStore” export issue in the knowledge sources.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: