How to deploy Node.js application with deep node_modules structure on Windows?

前端 未结 8 1180
北荒
北荒 2020-11-30 17:11

I\'ve run into a curious issue - apparently some Node.js module have so deep folder hierarchies that Windows copy command (or PowerShell\'s C

8条回答
  •  抹茶落季
    2020-11-30 18:01

    I wrote a node module called "npm-flatten" that flattens your dependencies for you here: https://www.npmjs.org/package/npm-flatten

    If you are looking for a distrubtion, I also wrote a NuGet package that will integrate a complete node.js environment with your .NET project here: http://www.nuget.org/packages/NodeEnv/

    Feedback would be welcome.

提交回复
热议问题