If your hook requires modules or specific modules versions that are not available by default in the platform then the hook should list those requirements, in particular, by accessing the tools menu and then selecting NPM Modules. You did not provide any information about the modules being used in your hook so a more informed reply is not possible; my best recommendation would be, if you haven’t done so already, to include every module dependency you need in the hook NPM modules list and see if it addresses the situation. If you continue to experience the problem then please update the question with additional information about the modules and versions being used.