Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in ../node_modules/nativescript-camera/camera.js #255

Open
kenedynpsyh opened this issue Jan 3, 2021 · 1 comment
Open

ERROR in ../node_modules/nativescript-camera/camera.js #255

kenedynpsyh opened this issue Jan 3, 2021 · 1 comment

Comments

@kenedynpsyh
Copy link

kenedynpsyh commented Jan 3, 2021

hi I have a problem here, I want to solve this problem, every hour and meet tomorrow and still have the same problem, maybe some of you have the same problem with me, I use nativescript for vue

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/application/application' in '/Users/shadow/app/algorithm-dt/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 7:24-75
@ ../node_modules/ts-loader??ref--6!../node_modules/vue-loader/lib??vue-loader-options!./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue
@ ./routes/index.ts
@ . sync (?<!\bApp_Resources\b.)(?<!./\btests\b/.?).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-]*.)scss)$
@ ./app.ts

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/image-asset/image-asset' in '/Users/shadow/app/algorithm-dt/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 9:23-74
@ ../node_modules/ts-loader??ref--6!../node_modules/vue-loader/lib??vue-loader-options!./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue
@ ./routes/index.ts
@ . sync (?<!\bApp_Resources\b.)(?<!./\btests\b/.?).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-]*.)scss)$
@ ./app.ts

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/platform/platform' in '/Users/shadow/app/algorithm-dt/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 13:15-60
@ ../node_modules/ts-loader??ref--6!../node_modules/vue-loader/lib??vue-loader-options!./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue
@ ./routes/index.ts
@ . sync (?<!\bApp_Resources\b.)(?<!./\btests\b/.?).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-]*.)scss)$
@ ./app.ts

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/trace/trace' in '/Users/shadow/app/algorithm-dt/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 11:12-51
@ ../node_modules/ts-loader??ref--6!../node_modules/vue-loader/lib??vue-loader-options!./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue?vue&type=script&lang=ts&
@ ./components/auth/create.vue
@ ./routes/index.ts
@ . sync (?<!\bApp_Resources\b.)(?<!./\btests\b/.?).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-]*.)scss)$
@ ./app.ts

@vallemar
Copy link

vallemar commented Jan 7, 2021

you should install https://www.npmjs.com/package/@nativescript/camera for NS 7 or up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants