Every time I import { ImagePicker } from '@ionic-native/image-picker'; and init it in the constructor with private imagePicker: ImagePicker, I get the error: "error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures."
Even if I don't use the plugin itself, just importing the plugin on a page is enough to throw this error.
Every time I
import { ImagePicker } from '@ionic-native/image-picker';
and init it in the constructor withprivate imagePicker: ImagePicker
, I get the error: "error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures."Even if I don't use the plugin itself, just importing the plugin on a page is enough to throw this error.
I am currently using Ionic as follows:
cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc: