Open pelikhan opened 1 year ago
Can you run npm list -g makecode
for me and tell me what version it lists? I just ran this and 'worked on my machine', not sure what could be going on besides it grabbing 1.0.0 for some reason; do we need to unpublish that?
REDMOND+jowunder MSYS ~/test-dir
$ git clone https://github.com/microsoft/pxt-jacdac
Cloning into 'pxt-jacdac'...
remote: Enumerating objects: 54412, done.
remote: Counting objects: 100% (8216/8216), done.
remote: Compressing objects: 100% (1101/1101), done.
remote: Total 54412 (delta 7079), reused 8190 (delta 7063), pack-reused 46196
Receiving objects: 100% (54412/54412), 8.19 MiB | 11.42 MiB/s, done.
Resolving deltas: 100% (46073/46073), done.
REDMOND+jowunder MSYS ~/test-dir
$ cd pxt-jacdac/
REDMOND+jowunder MSYS ~/test-dir/pxt-jacdac (master)
$ npm install makecode
added 24 packages, and audited 25 packages in 4s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
REDMOND+jowunder MSYS ~/test-dir/pxt-jacdac (master)
$ npx makecode
using project: C:\Users\jowunder\test-dir\pxt-jacdac/pxt.json
using config: C:\Users\jowunder\test-dir\pxt-jacdac\mkc.json
include: C:\Users\jowunder\test-dir\pxt-jacdac\links.json
Download new webapp
Download https://makecode.microbit.org/
Download https://makecode.microbit.org/---manifest
Download https://pxt.azureedge.net/commit/621c40f952fe2c381892d49906e735eb774b0415/pxtworker.js
Download https://pxt.azureedge.net/commit/621c40f952fe2c381892d49906e735eb774b0415/target.json
Download https://pxt.azureedge.net/api/config/microbit/targetconfig/v5.0.12?cdn=20230202
Download https://trg-microbit.userpxt.io/---simulator
Download https://pxt.azureedge.net/blob/cf867ede4b0633c64dd32588ca6e2edc3aa67f98/pxtsim.js
Download https://pxt.azureedge.net/blob/a1a89319879eeabb01b4046263df0575fe619fd9/sim.js
using editor: https://makecode.microbit.org/ v5.0.12
Download https://pxt.azureedge.net/compile/bb8015207e408ac379e2a04df82b9a4d63d0cd7790079424e1835cbd7753c693.hex
Download https://pxt.azureedge.net/compile/7fb54a2f8854c250e22ce176d8b01448f8494b1aa1974f6e24c83fd4466ef1f5.hex
compiling C++; this can take a while
Download https://www.makecode.com/api/compile/extension
Download https://makecode.com/compile/7fb54a2f8854c250e22ce176d8b01448f8494b1aa1974f6e24c83fd4466ef1f5.json
Download https://makecode.com/compile/7fb54a2f8854c250e22ce176d8b01448f8494b1aa1974f6e24c83fd4466ef1f5.json
build log https://makecode.com/compile/7fb54a2f8854c250e22ce176d8b01448f8494b1aa1974f6e24c83fd4466ef1f5.log
Download https://makecode.com/compile/7fb54a2f8854c250e22ce176d8b01448f8494b1aa1974f6e24c83fd4466ef1f5.hex
write C:\Users\jowunder\test-dir\pxt-jacdac\built/yotta.json
write C:\Users\jowunder\test-dir\pxt-jacdac\built/codal.json
write C:\Users\jowunder\test-dir\pxt-jacdac\built/mbdal-binary.asm
write C:\Users\jowunder\test-dir\pxt-jacdac\built/mbdal-binary.hex
write C:\Users\jowunder\test-dir\pxt-jacdac\built/mbcodal-binary.asm
write C:\Users\jowunder\test-dir\pxt-jacdac\built/mbcodal-binary.hex
write C:\Users\jowunder\test-dir\pxt-jacdac\built/binary.hex
Build OK
@pelikhan ➜ /workspaces/pxt-jacdac (master) $ npm list -g makecode
/usr/local/share/npm-global/lib
└── makecode@1.1.0
@pelikhan ➜ /workspaces/pxt-jacdac (master) $ npm install -g -u makecode
added 24 packages, and audited 25 packages in 397ms
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
@pelikhan ➜ /workspaces/pxt-jacdac (master) $ npm list -g makecode
/usr/local/share/npm-global/lib
└── makecode@1.1.0
@pelikhan ➜ /workspaces/pxt-jacdac (master) $
1.1.0 is the latest release on npm