azure emulator not starting for web role if node_modules directory exists

我的梦境 提交于 2019-12-05 20:16:43
Marqus Landin

I temporally solved this by including Pre-build and Post-build event.

Pre-Build event: npm install

Post-Build event: rmdir /s /q "$(ProjectDir)node_modules\" 

Have you tried making the "node_modules" folder hidden?

I had a similar issue where visual studio was crashing. It came down the paths of some files in the node_modules folder being greater than 260 characters

I'm not saying this will work for you, as I haven't had your exact issue, but as Visual Studio doesn't load hidden folders... it just might work :-)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!