# Using pebble/vibes in CloudPebble w/Alloy crashes the emulator

**URL:** <https://forum.repebble.com/t/using-pebble-vibes-in-cloudpebble-w-alloy-crashes-the-emulator/699>\
**Category:** Watchapp/Face Developers Corner\
**Created:** [May 20, 2026, 4:24am UTC](https://forum.repebble.com/t/using-pebble-vibes-in-cloudpebble-w-alloy-crashes-the-emulator/699 "2026-05-20T04:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssdvngdburtnds](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@ssdvngdburtnds](https://forum.repebble.com/u/ssdvngdburtnds)\
**Post date:** [May 20, 2026, 4:24am UTC](https://forum.repebble.com/t/using-pebble-vibes-in-cloudpebble-w-alloy-crashes-the-emulator/699/1 "2026-05-20T04:24:32Z")

</div>

Hi all, I’m working on a watchapp in CloudPebble with Alloy, and I’ve had some trouble using the vibes module. I found this [example](https://github.com/Moddable-OpenSource/pebble-examples/blob/main/hellovibes/src/embeddedjs/main.js) through the docs:

```javascript
import Vibes from "pebble/vibes"

// ...

Vibes.shortPulse();

```

When I create a default project and add the pebble/vibes import, the import itself causes the app to crash on the Emery emulator (the build passes)

```auto
[VERBOSE] xsHost.c:155: Exception loading main: SyntaxError: import default not found

```

Curious if anyone else has encountered this or has any suggestions, thanks!

---

<div class="post-metadata">

**Author:** ![jpx](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.repebble.com/jpx/32/9_2.png) [@jpx](https://forum.repebble.com/u/jpx)\
**Post date:** [May 20, 2026, 1:28pm UTC](https://forum.repebble.com/t/using-pebble-vibes-in-cloudpebble-w-alloy-crashes-the-emulator/699/2 "2026-05-20T13:28:52Z")

</div>

Hey! the pebble-examples repo is actively being updated by the Moddable Team with new features even if they are not in the Pebble SDK yet, vibration will be available in the next SDK release!

---

<div class="post-metadata">

**Author:** ![ssdvngdburtnds](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@ssdvngdburtnds](https://forum.repebble.com/u/ssdvngdburtnds)\
**Post date:** [May 21, 2026, 4:32am UTC](https://forum.repebble.com/t/using-pebble-vibes-in-cloudpebble-w-alloy-crashes-the-emulator/699/3 "2026-05-21T04:32:35Z")

</div>

Ah good to know, thanks for the quick reply! 🙏
