johnny-five not working

Author: Sarthak-AryaCreated Dec 29, 2022Updated Aug 10, 2024
const { Board, Led } = require("johnny-five");
const board = new Board({port:"COM3"});

board.on("ready", () => {

  // Create a standard `led` component instance
  const led = new Led(13);
  this.repl.inject({
    led: led
  });
  // "blink" the led in 500ms
  // on-off phase periods
  led.blink(1000);
});

Above is my code

Screenshot 2022-12-29 235929

Here is the output is not showing anything I am using Windows 11 x64 bit system