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

Currently DracoLoader is not working due to the plugin path issue #4

Open
nkihrk opened this issue Oct 12, 2019 · 0 comments
Open

Currently DracoLoader is not working due to the plugin path issue #4

nkihrk opened this issue Oct 12, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nkihrk
Copy link
Owner

nkihrk commented Oct 12, 2019

src/js/three-eve.js (line 122)

Here is the current code.

dracoLoader.setDecoderPath('../three-modules/draco/');

../three-modules/draco/ is the relative path from three-eve.js, where is the module DracoLoader looking for its decoder.
However, it doesn't seem to be loaded properly inside DracoLoader().
The concole log errors show that the loader try to find draco_wasm_wrapper.js, for example, from the path of http://localhost:8080/, and failed because of the root path set to be /build. Also the compiled JS bundles are in http://localhost:8080/js/.

chrome_2019-10-12_18-10-41

Is there any way to resolve the path ?

@nkihrk nkihrk added the bug Something isn't working label Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants