无法在当前运行Parrot.sec的Linux上安装@ angular / cli

时间:2018-02-17 00:53:45

标签: node.js angular git npm angular-cli

每当我运行 public function actionDelete() { if (Yii::$app->request->isPost) { $selection = Yii::$app->request->post('selection'); $response['success'] = false; $transaction = Yii::$app->db->beginTransaction(); try { \frontend\models\Post::updateAll(['is_deleted' => 1], ['IN', 'id', $selection]); $response['success'] = true; $transaction->commit(); } catch (\Exception $ex) { $transaction->rollBack(); $response['msg'] = $ex->getMessage(); } echo \yii\helpers\Json::encode($response); } }

时,我都会收到此错误消息
npm install -g @angular/cli

0 个答案:

没有答案