Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pxt serve --cloud failed #1200

Open
adjian opened this issue May 8, 2021 · 0 comments
Open

pxt serve --cloud failed #1200

adjian opened this issue May 8, 2021 · 0 comments

Comments

@adjian
Copy link

adjian commented May 8, 2021

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();
~~~~~~~~~~~~~~~~~~~

../built/common-sim.d.ts:752:21
752 constructor(board: BaseBoard);
~~~~~~~~~~~~~~~~
An argument for 'board' was not provided.

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:

  1. follow the install guide: https://learn.adafruit.com/installing-makecode-for-adafruit?view=all

Screenshots

Desktop (please complete the following information):

  • OS: ubuntu20.04
  • Browser firefox
  • Version 88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant