Consider this question: Parallel arrows along a curve with tikz.
The OP's code is clearly not compilable. The preamble of the code is not shown.
However, we can add a single line
\documentclass[tikz, margin = 3mm]{standalone}
to the code to make it compilable; and it produces this figure:
So, in cases like this, should I add the above line to the code and add the picture to the question? Or should I suggest like "Please add an MWE" and wait for the OP to edit the question?