microsoft / microsoft/pxt-mkc

makecode failing (microcode build)

Open
#97 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
19
Forks
12
Avg merge
3h 47m
Merged PRs (30d)
5

Description

Run makecode --java-script
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '../../makecode-core/built/commands'
Require stack:
- /opt/hostedtoolcache/node/16.19.0/x6[4](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:5)/lib/node_modules/makecode/built/cli.js
- /opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/makecode/makecode
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:99[5](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:6):15)
    at Function.Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:10[6](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:7)[7](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:8):19)
    at require (node:internal/modules/cjs/helpers:103:1[8](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:9))
    at Object.<anonymous> (/opt/hostedtoolcache/node/16.1[9](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:10).0/x64/lib/node_modules/makecode/built/cli.js:16:20)
    at Module._compile (node:internal/modules/cjs/loader:1165:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:[10](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:11))
    at Module.load (node:internal/modules/cjs/loader:1043:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:[12](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:13))
    at Module.require (node:internal/modules/cjs/loader:1067:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/hostedtoolcache/node/[16](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:17).[19](https://github.com/microsoft/microcode/actions/runs/4180400738/jobs/7241342595#step:6:20).0/x64/lib/node_modules/makecode/built/cli.js',
    '/opt/hostedtoolcache/node/16.19.0/x64/lib/node_modules/makecode/makecode'
  ]
}
Error: Process completed with exit code 1.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.