如何安装依赖于另一个“目标项目"包的包?
我在设置 yeoman 时遇到问题.尝试安装某些软件包(yeoman、compass)时,我不断收到此错误.而其他包安装正常(git、python).
I am having trouble setting up yeoman. I keep getting this error when trying to install certain packages (yeoman, compass). While, other packages install fine (git, python).
外部包不能依赖于针对项目的包
External packages cannot depend on packages that target projects
我不确定失败在哪里,但 nuget 有一个长期存在的问题,巧克力也使用内容文件夹:(.
I'm not sure where the failure is, but nuget has a long standing issue that chocolatey also gets with using a content folder :(.
如果任何依赖的包有内容文件夹,则需要上游包也有内容文件夹.这是不可取的,因此解决方法是要求包维护者删除内容文件夹.
If any package that is depended on has a content folder, it requires the upstream package to also have a content folder. This is undesirable, so the fix is to ask the package maintainer to remove the content folder.