-
-
Notifications
You must be signed in to change notification settings - Fork 54
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 to Server #312
Comments
HI @Attil10 can you add more informations about your server (if possible)? Obiuvsly it seems that the app can't load the configuration camera file, I add this error trying to load in a Node.js environment and at this time i haven't solved that issue. You should try the dev version of the lib, ( you need to re-build ARnft with |
Yes, I managed to find the problem, I hadn't added the path, but now when I try to view my glb I get this error: Uncaught TypeError: Cannot set properties of undefined (setting 'visible') could you help me? the app starts and also identifies the marker but it doesn't load the glb model. |
my App.js file is this: import React from 'react'; const pathName = window.location.pathname let width = 640; let mat = new THREE.MeshLambertMaterial({ color: 0xff0000 }); let root = new THREE.Object3D();
}).catch((error) => { document.addEventListener('onInitThreejsRendering', (ev) => { function App() { ); } export default App; |
I think you are trying this code from https://github.com/kalwalt/ARnft-ES6-react, what is the result of |
Yes I was trying to figure out how to test the project on a server. the result of the path name is /ARnft-ES6-react. |
Does the model is loaded? The model path is correct? |
@Attil10 did you solved the issue? |
I'll try! I'm trying to put the project on a server, in local host everything works perfectly but when I try to launch it from https I get the following error:
Error: Error in loadCamera function:
at A. (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:739449)
at t (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:828)
at Generator. (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:2183)
at Generator.throw (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:1191)
at A (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:7828)
at o (a675282e-2e1c-4b3a-9e52-a52f40f8cdf3:1:8067)
I think I'm doing something wrong but I don't understand what. Can anyone tell me why? or maybe you can help me?
Thanks in advance.
The text was updated successfully, but these errors were encountered: