After this - import * as camera from "nativescript-camera"; I got this error upon: ns debug android
error:
ERROR in./node_modules/nativescript-camera/camera.android.js 21:24-63 Module not found: Error: Can't resolve 'tns-core-modules/utils/utils'
you can try this.
node_modules/tns-core-modules/utils.d.ts
utils.d.ts
with following: export * from "@nativescript/core/utils/utils";
npm install
you need to use package @nativescript-camera
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.