Tastenkunst / brfv5-browser

Beyond Reality Face SDK - BRFv5 - Platform: Browser
229 stars 48 forks source link

How to run with parcel #10

Closed luannd closed 4 years ago

luannd commented 4 years ago

Hi,

I can run the project successfully with "live-server" but I don't know how to run with "parcel". It throws errors while loading the "loadBRFv5Model": Uncaught Error: Invalid reserved bit at H (brfv5_js_tk290120_v5.1.3_trial.js:10) at T (brfv5_js_tk290120_v5.1.3_trial.js:10) at Object.z [as process] (brfv5_js_tk290120_v5.1.3_trial.js:10) at XMLHttpRequest.xhrBinary.onload (brfv5_js_tk290120_v5.1.3_trial.js:10)

MarcelKlammer commented 4 years ago

That's usually the case when the model files could not be loaded.

Make sure to have the model files in your export. .brfv5 files are binary files and my need special config for your bundler to be exported.