Sls deploy - RangeError: Maximum call stack size exceeded

Deploying with latest release (1.52) - today’s error is:
RangeError: Maximum call stack size exceeded at Function.[Symbol.hasInstance] (<anonymous>) at WriteStream (/builds/[yada]/node_modules/graceful-fs/graceful-fs.js:217:14)

I think I’m going to have to update my deployment script to use the last stable version

2 Likes

Yup just changing the install serverless line in my CI script fixed it:

- npm install -g serverless

to:

- npm install -g serverless@1.51

1 Like