Forum

Import Project on 17.12.0 (module rgba not found)

15 January 2018 19:08
Dear support I've a problem with my project imported on the new 17.12 release (not RC).
here below the error that i receive

Uncaught Error: Module "rgba" not found
at b4w.js:46636
at visual_configurator_engine.js:23
at Object.__b4w_default (b4w.js:46650)
at Object.b4w.require (b4w.js:46657)
at Object.engine.init (visual_configurator_engine.js:217)
at initializeVCE (visual_configurator_engine_test.js:10)
at HTMLButtonElement.onclick (visual_configurator_engine.html:24)

Can you please help me ?

Thanks in advance and Best Regards
16 January 2018 10:54
Hello.
You have found a bug. Temporary fix is to add next code to index.js in the SDK root directory:
import m_rgba from "./src/extern/rgba.js";
b4w.rgba = m_rgba;

If you have a problem with applying fix, please inform us.
Blend4Web Team
kirill@blend4web.com
16 January 2018 12:01
Works fine thanks !
 
Please register or log in to leave a reply.