(entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[])
| 195 | } |
| 196 | |
| 197 | async lint(entryFile: string, outputDirectory: string, toolsPaths: (string | string[])[]): Promise<void> { |
| 198 | await super.lint(entryFile, outputDirectory, toolsPaths); |
| 199 | |
| 200 | // LibSQL uses native Node.js bindings — incompatible with both serverless and edge environments |
| 201 | const hasLibsql = (await this.deps.checkDependencies(['@mastra/libsql'])) === `ok`; |
| 202 | |
| 203 | if (hasLibsql) { |
| 204 | this.logger?.error( |
| 205 | `Netlify Deployer does not support @libsql/client (which may have been installed by @mastra/libsql) as a dependency. |
| 206 | LibSQL with file URLs uses native Node.js bindings that cannot run in Netlify serverless or edge environments. Use other Mastra Storage options instead.`, |
| 207 | ); |
| 208 | process.exit(1); |
| 209 | } |
| 210 | } |
| 211 | } |
nothing calls this directly
no test coverage detected