[SOLVED] Can't install cordova plugins on f7 after NodeJS update

I updated nodeJS a while ago, whenever I try to install a cordova plugin I get this error

    The module '\\?\C:\Users\adria\AppData\Roaming\npm\node_modules\framework7-cli\node_modules\sharp\build\Release\sharp.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

Now, I tried to rebuild the framework7 cli but there’s no luck

Any idea on how to solve this issue?

Solved.

I had to uninstall the whole framework7-cli and re-install it. Now it’s working like a charm.