Hi,
My system was ubuntu20.04, and I follow guide https://learn.adafruit.com/installing-makecode-for-adafruit?view=all to install makecode-adafruit.
Describe the bug
finally, after I ran command "pxt serve --cloud", I got a error as following:
[run] cd sim; node ../node_modules/typescript/bin/tsc
dalboard.ts:140:54 - error TS2554: Expected 1 arguments, but got 0.
140 this.builtinParts["ir"] = this.irState = new InfraredState();
*** Build failed: target build failed: Exit code: 2 from cd sim; node ../node_modules/typescript/bin/tsc
Error: Exit code: 2 from cd sim; node ../node_modules/typescript/bin/tsc
at ChildProcess.ch.on (/home/jun/makecode-adafruit/pxt/built/nodeutil.js:78:24)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
Hi, My system was ubuntu20.04, and I follow guide https://learn.adafruit.com/installing-makecode-for-adafruit?view=all to install makecode-adafruit. Describe the bug finally, after I ran command "pxt serve --cloud", I got a error as following: [run] cd sim; node ../node_modules/typescript/bin/tsc dalboard.ts:140:54 - error TS2554: Expected 1 arguments, but got 0.
140 this.builtinParts["ir"] = this.irState = new InfraredState();
Found 1 error.
*** Build failed: target build failed: Exit code: 2 from cd sim; node ../node_modules/typescript/bin/tsc Error: Exit code: 2 from cd sim; node ../node_modules/typescript/bin/tsc at ChildProcess.ch.on (/home/jun/makecode-adafruit/pxt/built/nodeutil.js:78:24) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
To Reproduce Steps to reproduce the behavior:
Screenshots
Desktop (please complete the following information):