Rocky npm包监视脚本导致错误

时间:2018-01-05 00:45:28

标签: node.js gulp

Editor screenshot

我从GitHub下载了Rocky,要求我运行:

private static Point2D rotate(Point2D point, Point2D pivot, double angle_degrees) {
        double angle = Math.toRadians(angle_degrees); 

        double sin = Math.sin(angle);
        double cos = Math.cos(angle);

        //translate to origin
        Point2D result = point.subtract(pivot);

        // rotate point
        Point2D rotatedOrigin = new Point2D(
                result.getX() * cos - result.getY() * sin,
                result.getX() * sin + result.getY() * cos);

        // translate point back
        result = rotatedOrigin.add(pivot);

        return result;
    }

我安装了node.js,最新的Python文件和VS Build Tools但是我无法从这里继续。

以下是错误日志:

npm install
npm run watch

0 个答案:

没有答案