Installing pxt from github
$ git clone https://github.com/microsoft/pxt.git
$ cd pxt
$ git checkout c2c608fe00d35f9f4654aba4f37a7fc76660dfb7
$ npm -v
8.19.2
$ node -v
v16.18.1
$ npm install
$ npm install -g # places pxt in the path
I chose the npm, node and commit that are shown to be tested and working in https://github.com/microsoft/pxt/actions/runs/3714968823.
Works fine and passes the tests.
Installing pxt-sample from github
$ cd ../
$ git clone https://github.com/microsoft/pxt-sample.git
$ git log -1 # --> aa9ee683626716359a759c21c7090bd8189f1a95
$ cd pxt-sample
$ pxt link ../pxt
$ npm install
$ pxt serve
When starting a sample project (the square), converting the default block program to python fails:

Hovering says:

I.e. "unknown type 'Buffer' near '???'"
What is it I am doing wrong?
Installing pxt from github
I chose the
npm,nodeand commit that are shown to be tested and working in https://github.com/microsoft/pxt/actions/runs/3714968823.Works fine and passes the tests.
Installing pxt-sample from github
When starting a sample project (the
square), converting the default block program to python fails:Hovering says:
I.e. "unknown type 'Buffer' near '???'"
What is it I am doing wrong?