Artifactory不会复制npm模块

时间:2016-08-03 18:30:09

标签: npm artifactory

我试图将npm模块安装到本地存储库中,该存储库使用artifactory获取外部npm模块。任何以at符号(@)开头的npm模块都会导致错误404

npm install -D @easy-webpack/core
npm ERR! Windows NT 6.1.7601
npm ERR! node v4.2.4
npm ERR! npm v3.10.5
npm ERR! 400 bad request

我可以在神器配置中做些什么来解决这个问题吗?

这似乎发生在任何npm模块上,该模块以@

之类的特殊符号开头

1 个答案:

答案 0 :(得分:1)

npm包名称中的符号//reading source and destination images Mat src = imread( "srcImg.jpg", 1 ); Mat dst = imread( "dstImg.jpg", 1 ); int srcH = src.rows; int srcW = src.cols; int dstH = dst.rows; int dstW = src.cols; //convert chamber radius to pixels double alpha; int r = 250; double k = 210 / (500 * PI); //take pixels from source and arrange them into circles for ( int i = srcH-1; i > 0; i-- ) { for ( int j = 1; j <= srcW; j++ ) { alpha = (double) ( 2 * PI * (r * k+i) ) / j; int x_new = abs( (int) (dstW/2 - (r * k + i) * cos(alpha)) - 200 ); int y_new = abs( (int) (dstH/2 - (3.5*(r * k + i) * sin(alpha)))+1000 ); dst.at<uchar>( x_new, y_new ) = src.at<uchar>( srcH-i, srcW-j ); } } //make dst image grey and show all images Mat dstGray; cvtColor(dst, dstGray, CV_RGB2GRAY); imshow("Source", src); imshow("Result", dstGray); waitKey(); 表示它是scoped package - 您必须明确configure您的客户使用Artifactory作为范围注册表