The requested package npm-asset/xxx could not be found in any version

确保已安装Composer插件。

运行命令:

composer global require "fxp/composer-asset-plugin:^1.2.0"

然后要做的就是添加require-composer.json的部分

"bower-asset/fabric": "*"

composer update在控制台中运行命令(在项目文件夹中)

你可能感兴趣的:(php)