我试图在我的Azure网站上部署一个随需应变的node.js WebJob,它使用了几个节点库,但是每次运行都会生成错误
Failed to copy job files: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.取出库可以弥补错误,但是我不能运行WebJob。我怎么才能避开这一切?
发布于 2014-10-27 17:52:43
这是目前已知的WebJobs/node.js/Windows的限制。
由于WebJob是从临时目录运行的(在某些情况下,临时目录的路径启动时间已经很长)和node_modules往往具有长依赖树,因此在结束时会有具有长路径和窗口限制路径长度的文件。
解决办法:
https://stackoverflow.com/questions/26580100
复制相似问题