I wanted to use the Floating button in my App.

tns plugin add nativescript-floatingactionbutton

But the Installation failed. Below is the installation error.

enter image description here

I tried this also

sudo npm i nativescript-floatingactionbutton

2 Answers

Lanre Adedara On

This looks like a permission error, since it is not able to write to your node_modules folder.

Martin Mtawali On

sometimes sudo doesn't work you just have to do su first then Enter, then type commands normally like tns plugin add nativescript-xxxxxxx