Description
After upgrading to v6 beta, I get these errors when running the app:
WARNING in ./node_modules/@ai-sdk/provider-utils/dist/index.mjs
⚠ Module not found: Can't resolve 'effect' in '/app/node_modules/@ai-sdk/provider-utils/dist'
╭─[516:33]
514 │ var effectToJsonSchema = (schema) => async () => {
515 │ try {
516 │ const { JSONSchema } = await import("effect");
· ────────────────
517 │ return JSONSchema.make(schema);
518 │ } catch (e) {
╰────
WARNING in ./node_modules/@ai-sdk/provider-utils/dist/index.mjs
⚠ Module not found: Can't resolve '@valibot/to-json-schema' in '/app/node_modules/@ai-sdk/provider-utils/dist'
╭─[527:37]
525 │ return async () => {
526 │ try {
527 │ const { toJsonSchema } = await import("@valibot/to-json-schema");
· ─────────────────────────────────
528 │ return toJsonSchema(schema);
529 │ } catch (e) {
╰────
AI SDK Version
- ai: 6.0.0-beta.95
- @ai-sdk/react: 3.0.0-beta.95
Code of Conduct
Description
After upgrading to v6 beta, I get these errors when running the app:
AI SDK Version
Code of Conduct