Node Modules Missing after publishing and testing

  • 6 December 2023
  • 1 reply

I am working on OneDrive integration following this git repo

I have validated the code, test cases are also working fine. 
I am using Axios for Post Requests and URLSearchParams to add params in the request body.

The problem I am facing that its

  1. missing node modules for axios after Zapier Push to Server.
  2. missing node modules while running test cases using “zapier test --debug”.


node module missing after pushing the build


node module missing when running zapier test --debug


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 3
Badge +6

Hey @Faizan Khan , 

So sorry to hear about these errors!

Based on the errors, a few suggestions come to mind:

  • Reinstall dependencies (with npm install or yarn install, depending on your package manager)
  • Make sure Axios is installed as a dependency
  • Check out the --disable-dependency-detection flag documentation here to see if “smart” file inclusion might be a factor: zapier push

If none of that helps, please feel free to reach out to our Platform Support team so they can help investigate: