Skip to content

Maker MakeCode doesn't import servos library #11529

Description

@anho22

Describe the bug
Installing the servo library appears to succeed, but attempting to use it causes an error. In block mode, the servo drawer loses it's label entirely when clicked. In python mode, you can use the servo drawer, however, when a line is added referencing the servo's library, there's an error saying the library is not available.

To Reproduce
Steps to reproduce the behavior:

  1. Go to (https://maker.makecode.com/#editor)
  2. Click adafruit-gemma-m0
  3. Click EXTENSIONS in the left pane
  4. Find and click on the servo card
  5. Then click on SERVOS in the left pane
  6. The title disappears and is replaced by a yellow box:
Image
  1. This is an error. When clicking SERVOS, a menu with different blocks should appear
  2. Click on JavaScript at the top
  3. Then click SERVOS in the left pane
  4. A menu with different blocks appears:
Image

Laptop:

  • macOS 26.5.2
  • Same behavior on Firefox, Safari, Chrome

Additional context
I tried the workflow with both the gemma M0 and the metro m4 (the initial selection when navigating to: https://maker.makecode.com/#editor and the behavior was the same with both boards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions