shims.d.ts and enums.d.ts don't generated (pxt buildshims ?)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
I would like build the following micro:bit extension: https://github.com/emakefun/pxt-irRemote (commit: 449e6642)
I used the following descriptions:
- https://github.com/kshannon-ucsd/pxt-pixy2?tab=readme-ov-file#developer-setup
- https://makecode.com/simshim
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pxt-pixy2 developer setup and MakeCode simshim documentation, then inspect the pxt.json in emakefun/pxt-irRemote at commit 449e6642. Run the provided Docker image and pxt buildshims, checking why shims.d.ts and enums.d.ts are not generated; done means the extension's C++ content is accessible through the generated files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, docker, typescript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100