为什么在创建JHipser项目时添加附加组件(primeNG)不起作用

时间:2019-05-21 08:26:17

标签: jhipster primeng

在创建新的Jhipster应用程序时,我想安装诸如primeNG之类的加载项。不幸的是,该应用程序创建良好,但是附加组件无法安装。

我正在使用JHipster的6.0.1版本。

我试图通过'yo jhipster-primeng'命令通过JHipster生成器手动安装primeNG,但是此命令不起作用。我收到以下错误:

    Species = read_xlsx("~/KU/Kandidat/Thesis/Stat/All data_with H.xlsx")

    color = rep(NA, length=length(All_data_with_H$Species))
    color[which(All_data_with_H$Species=="1")] = "blue"
    color[which(All_data_with_H$Species=="2")] = "red"
    color[which(All_data_with_H$Species=="3")] = "darkmagenta"
    color[which(All_data_with_H$Species=="4")] = "gold"
    color[which(All_data_with_H$Species=="5")] = "violetred1"
    color[which(All_data_with_H$Species=="6")] = "lawngreen"
    color[which(All_data_with_H$Species=="7")] = "black"


   layout(matrix(c(1,2,3,3), ncol=2, byrow=TRUE), heights=c(3, 1))

   par(mai=rep(0.7, 4))
   plot(Distance_m[Location=="T1"], Cu_V[Location=="T1"], xlab = "Distance 
   (m) along transects", ylab = "Cu (µg/g) in vegetation", ylim = c(0,30), 
   col = color, pch = 20, frame.plot=FALSE, box(bty="l"))
   points(Distance_m[Location=="T2"], Cu_V[Location=="T2"], pch = 20)
   plot(Distance_m[Location=="MPS"], Cu_V[Location=="MPS"], xlab = "Reference 
   points", ylab = "", yaxt="n", xaxt="n",xlim = c(1,3), ylim = c(0,30), pch 
   = 20, col = color, frame.plot=FALSE, box(bty="l"))
   axis(1,at=1:3, labels =   c("MPS","SAK","SON"))
   points(Distance_m[Location=="SAK"], Cu_V[Location=="SAK"], pch = 20)
   points(Distance_m[Location=="SON"], Cu_V[Location=="SON"], pch = 20)

   mtext(expression(bold('Cu (µg/g) in vegetation samples')), side= 3, outer 
   = T, line =-2)

谢谢您的帮助。

0 个答案:

没有答案