You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into the same issue (v0.9.0). Works fine in local tests, but not via AWS Lambda.
import { Config } from 'sst/node/config';
import rockset from '@rockset/client';
const rocksetClient = rockset(Config.ROCKSET_API_KEY, 'https://api.euc1a1.rockset.com');
Error: (0 , import_client3.default) is not a function
Seems this is a known issue. Noticed the workaround in the docs:
Note: most sans-TypeScript projects currently require the following (we're currently working on better interoperability for Node / CommonJS / ES6):
Importing the client fails when using SST. Creating this for tracking purposes
The text was updated successfully, but these errors were encountered: