microsoft / microsoft/pxt

shims.d.ts and enums.d.ts don't generated (pxt buildshims ?)

Open
#10,401 2 comments 0 reactions 0 assignees View on GitHub

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:

Used build environment: docker pull nevergone/microbit-makecode-editor:7.0.57-tools

The error is shown here: Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.