You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used build environment: docker pull nevergone/microbit-makecode-editor:7.0.57-tools
The error is shown here:
You cannot access the content of the C++ code, even though it is also found in the pxt.json file. Does not generate shims.d.ts and enums.d.ts files and pxt buildshims command does nothing.
What am I doing wrong? The extension can be added to the makecode, so it can definitely be built somehow.
The text was updated successfully, but these errors were encountered:
So, if an expansion contains only TS code, it will be compiled by "pxt serve" if it is found in the pxtarget.json file.
If an extension also contains C++ code, it will not be compiled by "pxt serve" and if it is found in the "pxtarget.json" file under the "bundleddirs" entry, it cannot be added directly to the project because it will cause the above error.
The only way to use it is to compile the extension with the "pxt build" command and then add the "binary.hex" file as a makecode extension in the web interface.
Is it possible to use "pxt serve" in this case? All necessary tools are available.
I would like build the following micro:bit extension: https://github.com/emakefun/pxt-irRemote (commit: 449e6642)
I used the following descriptions:
Used build environment:
docker pull nevergone/microbit-makecode-editor:7.0.57-tools
The error is shown here:
You cannot access the content of the C++ code, even though it is also found in the pxt.json file. Does not generate shims.d.ts and enums.d.ts files and
pxt buildshims
command does nothing.What am I doing wrong? The extension can be added to the makecode, so it can definitely be built somehow.
The text was updated successfully, but these errors were encountered: