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

前端 未结 8 1189
北荒
北荒 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:02

    npm v3(released recently) solves this issue by flattening out the dependencies.. Check the release notes here in https://github.com/npm/npm/releases/tag/v3.0.0 under flat flat section.

    And the last comment on this issue https://github.com/npm/npm/issues/3697

提交回复
热议问题