spawnSync zip ENOBUFS error in workflow

This topic was automatically generated from Slack. You can find the original thread here.

Sanket Makhija : I have deployed a workflow and got an error: spawnSync zip ENOBUFS. It’s a NodeJs code. Need help

Dylan Sather (Pipedream) : Hi , could you click the Share button in the top-right of your workflow and share it with dylan@pipedream.com?

Sanket Makhija : Sure. Sharing in a while

Sanket Makhija : Hey I have shared it with you

Dylan Sather (Pipedream) : Thanks . It looks like the total size of the npm packages you’re requiring are getting close to the limit of the deployment. I noticed you were requiring firebase/app and firebase/firestore. Can you try requiring @firebase/app and @firebase/firestore, instead? I believe what you have now might pulling in the entire firebase package instead of the smaller, scoped packages, so I’d like to see if that helps

Dylan Sather (Pipedream) : I tried copying the workflow and deploying it with those scoped packages, and the deploy appeared to go through, so let me know if that works for you

Sanket Makhija : Awesome mate. Will check.
Pipe dream is awesome

Sanket Makhija : Hey I did the changes but scheduler not working

Sanket Makhija : I have sent you the workflow

Dylan Sather (Pipedream) : Thanks Sanket, can you clarify what the issue is? I’m seeing the workflow triggered once a minute

Sanket Makhija : Got it mate. UI took time to show past jobs May be an Internet error. Thanks for your time

Dylan Sather (Pipedream) : Great glad that worked