Viewing 2 replies - 1 through 2 (of 2 total)
  • This would require npm to be installed on the system. This is not available in every hosting. This could then be executed with the usual PHP functions (which should then also not be blocked in the hosting): https://www.php.net/manual/de/function.exec.php

    I would advise you to do something else: deliver the plugin with a compiled library. This way you don’t leave the generation to the userspace but you deliver it ready to use.

    Thread Starter Vinicius

    (@vinigoulart)

    ok, thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to configure to run terminal commands when installing a plugin’ is closed to new replies.