Custom node for shader graph not allowing project to build.

The project uses shader graph all seems to work perfectly fine in the editor, not a single error. However when attempting to build the project the erros I get are as follows:

Would it be possible to get some help with this?

Thanks,

Script needed to go into the editor folder. Even if it does work within the editor.