hi, any can help me to create an enviroment in ionic with aframe please,
actually i have this Error :
Error: Template parse errors:
‘a-sphere’ is not a known element:
If ‘a-sphere’ is an Angular component, then verify that it is part of this module.
If ‘a-sphere’ is a Web Component then add ‘CUSTOM_ELEMENTS_SCHEMA’ to the ‘@NgModule.schemas’ of this component to suppress this message. ("
currently, i try to use Three.js in Ionic. It’s work, but i would like to use camera preview and gyroscope with it. Now i can’t use camera preview but i search why it’s not work.
(it wasn’t work until i just change exports.ANDROID_PLATFORM_PATH = path.join(‘platforms’, ‘android’, ‘app’, ‘src’, ‘main’, ‘assets’, ‘www’); in serve-config.js)
Now i try too integrate gyroscope, if find a solution please share
Hi @PuntoNet,
I think placing schemas inside the providers is not correct (you didn’t put it there in your code snippet).
and puting it directly inside the @ngModule returns an error as well.
I wonder if you are kind enough to post a the full app.module.ts sample.
Thank you