Need help to write a conic constraint

Hello Everyone, I am getting error when I try to code the conic constraint
image

as
@constraint(m, soc[t=1:T, i=1:N], norm( [ 2*p[t,i], [g[t,i]-u[t,i]]) <= g[t,i]+u[t,i] )
the error message :
JuMP does not support mixing quadratic and conic constraints

Then, I attempted to code this constraint as
@NLconstraint(m, soc[t=1:T, i=1:N], norm( [ 2*p[t,i], [g[t,i]-u[t,i]]) <= g[t,i]+u[t,i] )
the error message:
UndefVarError: cfunction not defined

Note: I’m using Mosek solver and JuMP version 0.18.