This paper investigates a framework for integrated sensing and communication (ISAC) based on non-orthogonal multiple access (NOMA). In this framework, a dual-function base station (BS) utilizes NOMA technology to send superimposed signals to various users, and this superimposed signal also acts on target sensing simultaneously. Considering the channel estimation error, ensuring the communication performance, and sensing performance requirements, a transmit power optimization problem of ISAC system using NOMA is studied. Specifically, in the statistical channel state information (CSI) error model, the total system communicate power is minimized while ensuring all single users' rate outage probability (OP) constraints and the requirements for the beampattern gains of all single radar targets. Unfortunately, the proposed problem is challenging to solve and non-convex. But we have devised a feasible way to deal with this problem. First, we use Bernstein inequality to transform the rate OP constraint, and this challenging non-convex problem is then successfully solved using a method based on semi-definite relaxation (SDR). The numerical outcomes demonstrate that the system's overall transmission power will increase due to the channel estimation error. The numerical findings also show that the ISAC system performs better with NOMA assistance than with OMA when comparing the NOMA and OMA schemes.