sg-wireless / pymakr-vsc

GNU General Public License v3.0
97 stars 25 forks source link

[BUG] Buttons are not clickable / command pymakr.createProjectPromp not found #272

Closed jairov96 closed 1 year ago

jairov96 commented 1 year ago

Describe the bug Just installed pymakr today on both a windows device and a mac (m1 pro) device and realized all the buttons don't do anything.

When trying to use the commands through the "f1" menu, I get this error. Same error both on mac and windows.

To Reproduce Steps to reproduce the behavior:

  1. Clock "f1" in your keyboard
  2. type "PyMakr: Create new project"
  3. Click on the first option
  4. See error

Expected behavior The prompt to create project to work

Screenshots image

Desktop (please complete the following information):

jakobrosenberg commented 1 year ago

Thanks for reporting this @jairov96 . I'll try get a fix out ASAP.

jakobrosenberg commented 1 year ago

I was unable to replicate this locally. Do you by any chance have both Pymakr and Pymakr Preview installed? This could mess up the install of either.

jairov96 commented 1 year ago

Hello @jakobrosenberg

Turns out it's required to have Node.js installed for this to work and I wasn't aware of it. As soon as I installed, it's working like a charm. Huge thanks to everybody involved in this fantastic project.

Maybe would be worth pointing it out in the description that Node.js is indeed required to have this running.

Regards!

jakobrosenberg commented 1 year ago

This is very interesting. Node should not be required for Pymakr.

Thanks so much for the kind words.

jairov96 commented 1 year ago

Just to point out the source where I got that: https://randomnerdtutorials.com/micropython-esp32-esp8266-vs-code-pymakr/

At least, it solved my problems!