Loving Coding & Visual Design

node_modules无法删除integration错误

windows下删除web app的node_modules目录,可能出现无法删除integration错误的提示,根据这里的解释,源自windows路径长度的限制,造成这个bug。

This is the maximum length of a path according to the Windows API, defined as 260 characters.

解决办法:
http://support.microsoft.com/?kbid=320081

you can delete a file named "lpt1" if you specify the full path of the file by using the following special syntax:
del \?c:path_to_filelpt1

或者直接把太深的目录拖到浅一点的目录。



下一页


最 近 文 章

  1. Grunt Build Error: require.js blocks are no more supported - Mon, 22 Dec 2014 06:00:16 +0000
  2. Mysql5.7 start mysqld.service失败的问题 - Wed, 17 Dec 2014 17:30:17 +0000
  3. PHP5.4.35的php_curl.dll问题 - Tue, 16 Dec 2014 15:11:43 +0000
  4. Mysql错误:mysql Illegal mix of collations for operation like - Wed, 05 Nov 2014 01:10:16 +0000
  5. 论程序员的幸福感 - Wed, 08 Oct 2014 11:18:30 +0000
  6. $.parseJSON Unexpected token t错误 - Fri, 12 Sep 2014 03:53:26 +0000
  7. ImageMagic把pdf转成jpg出现黑色块的问题 - Thu, 28 Aug 2014 11:27:36 +0000
  8. 现代浏览器工作原理 - Thu, 28 Aug 2014 09:34:21 +0000
  9. 前端打包压缩合并工具Fis - Mon, 18 Aug 2014 14:44:19 +0000
  10. seajs开发环境搭建 - Thu, 14 Aug 2014 17:42:26 +0000