travis-ci在打字安装上失败了

时间:2016-05-21 07:53:22

标签: npm travis-ci npm-install

我试图让travis-ci继续我的angular2项目,它使用npm来安装打字,但是travis-ci在打字安装上失败了。

错误

  - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {

//    NSLog(@"DEBUG: Touches moved" );

[super touchesMoved:touches withEvent:event];

if ([[event allTouches] count] > 1) {

} else {

    UITouch *touch = [[event allTouches] anyObject];
    UIView *view = touch.view;


    NSLog(@"DEBUG: Touches Moved");

   CGPoint location = [touch locationInView:self.bgView];
    for (UIView *subview in _bgView.subviews)
    {
        if (CGRectContainsPoint(subview.frame, location) && subview.tag > 0) {

            NSLog(@"Point x:%.2f y:%.2f TAG:%i", location.x, location.y, subview.tag);

            UIView *point = [[UIView alloc] initWithFrame:CGRectMake(location.x - 2.5, location.y - 2.5, 5, 5)];
            point.backgroundColor = [UIColor redColor];

            [_bgView addSubview:point];

        }


    }





    }
}

1 个答案:

答案 0 :(得分:0)

我错过了1.0类型的变化,请务必通读updating from 0.x to 1.0