jamesphilipps / serverless-offline-plugins

A collection of plugins for serverless-offline
1 stars 0 forks source link

serverless-offline-secrets-manager-simulator breaks with serverless-offline >= 8.8.1 #2

Open fauxbytes opened 1 year ago

fauxbytes commented 1 year ago
$ sls offline start
//...
Error:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/serverlessLog' is not defined by "exports" in C:\foo-proj\node_modules\serverless-offline\package.json
renatoargh commented 1 year ago

Same here, my setup is this:

node -v
v18.12.1
npm -v
8.19.2
"serverless-offline": "^12.0.3",
your-eminence commented 1 year ago

Looks like this is attempting to use serverless v2 logging (this was removed in v9.0.0 of serverless-offline)