Clipboard is not working in ionic v2

I trying to install in ionic v2 project

$ ionic plugin add (Installed)


$ npm install --save @ionic-native/clipboard (here i got error)

I am not getting what is wrong please help me to sort out.


Would love to help, but I see no error text, just a link to some busted image host.

Thanks for quick help. Please check print screen shot.

How about no.

i am not getting what do you mean?

I mean post text as text, not screenshots. Images are unsearchable, unselectable for copy/paste, decay, are unreadable by screen readers, are unreliable, and in your particular case you are using some janky image host that my uMatrix plugin refuses to load.

Ahha got you. Thanks. Please check now just post error text

E:\paresh\ionic\develop\keepnote>npm install --save @ionic-native/clipboard
ionic-hello-world@ E:\paresh\ionic\develop\keepnote
±- @ionic-native/clipboard@3.4.4
`-- UNMET PEER DEPENDENCY typescript@2.0.9

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“ar
npm WARN @ionic/app-scripts@1.2.2 requires a peer of typescript@~2.2.1 but none was installed.

I believe something else in your project (not @ionic-native/clipboard) is requiring typescript 2.0.9. Do you have that version explicitly declared in your package.json? If so, try changing it to 2.2.1 and running npm install. I just added @ionic-native/clipboard to a v3beta version of the conference app (which is using TS 2.2.1) and did not get your error, so I believe there is a different cause.

Thanks npm package installed but when i add import { Clipboard } from ‘@ionic-native/clipboard’; then Clipboard in constructor got error.

Runtime Error
Error in :0:0 caused by: No provider for Clipboard!

You must declare it as a provider in your app module as documented near the bottom of here.