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 console keeps asking to run 'pxt npminstallnative' #1180

Open
AlienFu opened this issue Aug 1, 2020 · 1 comment
Open

pxt console keeps asking to run 'pxt npminstallnative' #1180

AlienFu opened this issue Aug 1, 2020 · 1 comment

Comments

@AlienFu
Copy link

AlienFu commented Aug 1, 2020

Describe the bug
I can't use pxt console. Which makes it hard to debug

To Reproduce
Steps to reproduce the behavior:

  1. set up a project using pxt cli
  2. in project director run pxt console

Using target adafruit with build engine codal
target: v1.6.4 /home/pi/adafruit/node_modules/pxt-adafruit
pxt-core: v6.1.10 /home/pi/adafruit/node_modules/pxt-core
monitoring console.log
console support not installed, did you run "pxt npminstallnative"?

  1. run pxt npminstallnative
  2. pxt console again

Cannot find node_modules/pxtcli.json nor pxtarget.json
Couldn't find PXT; maybe try 'pxt target microbit'?

Expected behavior
be able to see logs using pxt console

Screenshots
Add screenshots to help explain your problem. You can copy paste the screenshot in the github report. The .gif screen recording is very useful as well.

Desktop (please complete the following information):

  • OS: Raspberry Pi Desktop
    command line
@riknoll
Copy link
Member

riknoll commented Aug 17, 2020

did you run pxt target microbit? you might also need to run pxt install

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

2 participants