You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These Imports don't work. I can't implement from "node_modules"
If i change the Import of import { CameraSource, CameraResultType, Photo } from '@capacitor/core';
to import { CameraSource, CameraResultType, Photo } from '@capacitor/camera'; this will work.
The following import: import { TextDetector, TextDetection, ImageOrientation } from 'cap-ml';
doesn't work either, im not sure why!? I also tried: "npm install cap-ml". But it doesn't change my error.
Error message:
Cannot find module 'cap-ml' or its corresponding type declarations.ts(2307)
The last thing that doesn't work is: import { Plugins } from '@capacitor/core'; const { Camera } = Plugins;
Error message:
'Plugins' is deprecated.ts(6385)
global.d.ts(5, 4): The declaration was marked as deprecated here.
These Imports don't work. I can't implement from "node_modules"
If i change the Import of
import { CameraSource, CameraResultType, Photo } from '@capacitor/core';
to
import { CameraSource, CameraResultType, Photo } from '@capacitor/camera';
this will work.The following import:
import { TextDetector, TextDetection, ImageOrientation } from 'cap-ml';
doesn't work either, im not sure why!? I also tried: "npm install cap-ml". But it doesn't change my error.
Error message:
The last thing that doesn't work is:
import { Plugins } from '@capacitor/core';
const { Camera } = Plugins;
Error message:
Versions:
The text was updated successfully, but these errors were encountered: