Skip to content

PiniaColadaDevtools kills Cloudflare workers deployment completely #427

@Perdolique

Description

@Perdolique

During the migration of my Nuxt.js app from Cloudflare Pages to Cloudflare Workers, I've found a bug that every second deployment completely kills the worker w/o the possibility to restore it — any following deployments don't help, only recreating the worker from scratch helped (error 1101).

Trying different variants, I've found that commenting following code helps. Uncommented code breaks the worker again. Tried a few times — commenting always helps.

<template>
  <!-- ... -->

  <!-- <PiniaColadaDevtools /> -->
</template>

<script setup lang="ts">
  // import { PiniaColadaDevtools } from '@pinia/colada-devtools'

  // ...
</script>

I don’t have a clean repro, since I’m already in the process of removing Pinia Colada from the project — I’ve realised the library is still pretty undercooked for real-world usage. Still, I filed the issue in case it helps.

I've used nuxt build and wrangler deploy scripts for testing and the Nitro preset cloudflare-module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions