ERROR in [copy-webpack-plugin] unable to locate 'node_modules/scratch-svg-renderer/dist/web' at '/mnt/d/work/mylecon/scratch/scratch-vm/node_modules/scratch-svg-renderer/dist/web
如果你遇到上面的错误,可以尝试手动建立dist/web目录,原因有很多方面,比如git里面不允许空目录,或者下载拷贝的时候忽略了空目录等等
本文针对copy-webpack-plugin在构建过程中无法定位特定目录的问题提供了解决方案。错误通常出现在尝试访问不存在的目录时,如'mnt/d/work/mylecon/scratch/scratch-vm/node_modules/scratch-svg-renderer/dist/web'。手动创建缺失的'dist/web'目录是一种可行的解决办法。问题可能源于git不支持空目录或在下载或复制过程中忽略空目录。
ERROR in [copy-webpack-plugin] unable to locate 'node_modules/scratch-svg-renderer/dist/web' at '/mnt/d/work/mylecon/scratch/scratch-vm/node_modules/scratch-svg-renderer/dist/web
如果你遇到上面的错误,可以尝试手动建立dist/web目录,原因有很多方面,比如git里面不允许空目录,或者下载拷贝的时候忽略了空目录等等
1627
2350

被折叠的 条评论
为什么被折叠?