Skip to content

Error: Attempted import error: 'parseProviderOptions' is not exported from '@ai-sdk/provider-utils' (imported as 'parseProviderOptions'). #5369

Closed
@yamalight

Description

@yamalight

Description

When trying to deploy package to Vercel - build randomly throws following error:

../../node_modules/@ai-sdk/google/internal/dist/index.mjs
Attempted import error: 'parseProviderOptions' is not exported from '@ai-sdk/provider-utils' (imported as 'parseProviderOptions').
Import trace for requested module:
../../node_modules/@ai-sdk/google/internal/dist/index.mjs
../../node_modules/@ai-sdk/google-vertex/edge/dist/index.mjs
../../packages/astralcore/llm/config.ts
./app/admin/portal/books-qa/actions.ts
../../node_modules/@ai-sdk/google/internal/dist/index.mjs

Restarting the build usually fixes it.
This was not happening before.

Code example

No response

AI provider

@ai-sdk/google-vertex

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions