Javascript port and undefined references
Posted: Fri Sep 10, 2021 5:20 am
Hi,
I complied the latest MicroPython Javascript port (https://github.com/micropython/micropyt ... javascript) using the instructions on the port page but keep getting 'Uncaught ReferenceError: mp_js_init is not defined at'
I am using the exact HTML on that page with micropython.js and surrounding files in 'build' so that all files can be found as expected.
Is there something I am missing? I complied the port with the default instructions provided (make), using latest emsdk on 20.04 Ubuntu.
I complied the latest MicroPython Javascript port (https://github.com/micropython/micropyt ... javascript) using the instructions on the port page but keep getting 'Uncaught ReferenceError: mp_js_init is not defined at'
I am using the exact HTML on that page with micropython.js and surrounding files in 'build' so that all files can be found as expected.
Is there something I am missing? I complied the port with the default instructions provided (make), using latest emsdk on 20.04 Ubuntu.