Please don't close this question without reading.
I have got a regular Node.js project with an index.js and a bunch of node_modules, one of which is azure-storage to download a file.. I have compressed it into .zip and trying to upload it as an Azure WebJob.. but it is failing every time.
What it does is, there is one empty directory inside my Node.js project. I have written some code which downloads a csv file from azure storage into the local directory and converts each row into an INSERT statement.
Came across a couple of threads referring to the same prob.. what I have tried is:
- npm dedupe - This was suggested somewhere as node_module directory tree can recursively exceed the length allowed in Windows - Didn't work for me
- Trashed everything inside node_modules (just to check if #1 is really the problem for me) - Same error
- Uploaded the index.js file only - Worked :/