Can't resolve 'cordova/exec'

Hi, I’m currently trying to integrate a cordova plugin. But when I want to serve or build the app, I get the following error:

Module not found: Error: Can't resolve 'cordova/exec' in (path/to/the/plugin)

Couldn’t find any solution yet. Any hints?

Thanks.