I’m getting an error with sst start (but not sst d...
# sst
o
I’m getting an error with sst start (but not sst deploy):
Copy code
invokeError [1636085771837] started /Users/omi/workspaces/libs/lambda-utils/index.ts:1
import LogUtils, { CoveLogger, ChildLogger } from '@fragment/log-utils';
^^^^^^

SyntaxError: Cannot use import statement outside a module
I’ve tried to dig into this a bit, this is the generated import in `.build`:
Copy code
var import_lambda_utils = __toModule(require("@fragment/lambda-utils"));
So for some reason esbuild is thinking that module doesn’t need to be bundled and transpiled
Not sure why this just started happening, but I did rename a bunch of packages
I figured this out - I had
@fragment/lambda-utils
in my root package.json file, which mean that it got added to the list of externals sent to esbuild