当我安装npm install -g loopback-cli而不是显示此错误时,我已经设置了环境变量,例如C:\ Python27 \ python.exe; C:\ Program Files \ nodejs \
答案 0 :(得分:0)
$apps = [
['name' => 'Fish', 'id' => 2],
['name' => 'Chips', 'id' => 1],
['name' => 'Sticks', 'id' => 2],
];
$using = [];
foreach ( $apps as $var ) {
if ($var['id'] == "2") {
$using[] = $var['name'];
}
}
echo implode(" and ", $using);
答案 1 :(得分:0)
尝试安装Microsoft Build工具: https://www.microsoft.com/en-us/download/details.aspx?id=40760