Windows common configuration - enable long path

Windows enable long path support

  • Open the Registry Editor:regedit
  • Find the following path:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSytem
  • Find the following key:LongPathsEnabled
  • Fix the value to 1: 0 by default is not enabled.

the reason

  • If Windows does not allow itself to create a very long path, there are some software to install (compile and install), etc. in creating a long path when it will fail.
error: could not create 'build\lib\superset\static\assets.terser-plugin-cache\content-v2\sha512\00\0f\4e8df4f5ee7921b2270d4e4b41484d51b0f9179c662a55d62128f18abf1686780a3620666b8d0f53752f414c3c1bdf8cafd5de04e357c01b4ec561ab7581': No such file or directory

Guess you like

Origin www.cnblogs.com/duchaoqun/p/11980690.html