Tried to use your plugin but getting the following repeating error, didn't even get to login.
Any Ideas? I tested with payload 108 and 104. And I'm not using any custom admin components.
webpack-internal:///(rsc)/./node_modules/@ai-stack/payloadcms/dist/plugin.js:72
...incomingConfig.admin.components.providers ?? [],
^
TypeError: Cannot read properties of undefined (reading 'providers')
at eval (webpack-internal:///(rsc)/./node_modules/@ai-stack/payloadcms/dist/plugin.js:72:52)
at eval (webpack-internal:///(rsc)/./node_modules/payload/dist/config/build.js:15:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async buildConfig (webpack-internal:///(rsc)/./node_modules/payload/dist/config/build.js:13:36)
Node.js v20.17.0
⨯ node_modules/@ai-stack/payloadcms/dist/plugin.js (55:1) @ eval
⨯ Internal error: TypeError: Cannot read properties of undefined (reading 'providers')
at eval (./node_modules/@ai-stack/payloadcms/dist/plugin.js:72:52)
at eval (./node_modules/payload/dist/config/build.js:15:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async buildConfig (./node_modules/payload/dist/config/build.js:13:36)
digest: "2664713455"
53 | const { collections: collectionSlugs = [] } = pluginConfig;
54 | incomingConfig.admin.components.providers = [
> 55 | ...incomingConfig.admin.components.providers ?? [],
| ^
56 | {
57 | clientProps: {},
58 | path: '@ai-stack/payloadcms/client#InstructionsProvider',
Tried to use your plugin but getting the following repeating error, didn't even get to login. Any Ideas? I tested with payload 108 and 104. And I'm not using any custom admin components.
package.json: