microsoft / microsoft/pxt-maker

error: pxt_modules/base/pxt-core.d.ts(1,1): error TS9043: The hex file is not available, please connect to internet and try again.

Open
#297 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
130
Forks
90
Avg merge
1d 14h
Merged PRs (30d)
1

Description

i have the extension pxt-SL25. Prior to and an update of maker (not exactly sure when but during February), the compilation was successful and now suddenly fails.

I've commented out the code in sl25.cpp, sl25.h and sl25.ts but can not get rid of the error. I've built the extension locally and it returned "Error: Bad HTTP status code: 413 at https://www.makecode.com/api/compile/extension; message: {"message":"Compile request too large"}".

I suspect the extension is too large for the online compiler. Was the extension size limit reduced in a recent update?

Contributor guide

No contributing guide indexed for this repository

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 by reproducing the failure with the pxt-SL25 extension and compare the online compiler error with the local build's 413 response from /api/compile/extension. Review sl25.cpp, sl25.h, sl25.ts, and pxt_modules/base/pxt-core.d.ts to determine whether the issue is extension size or missing hex-file generation. Done means identifying the cause and documenting a confirmed resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript
Domain
build-system
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.