Issue: nuxt/icon#142
- Install dependencies:
pnpm i
- Run build:
NITRO_PRESET=cloudflare_module pnpm run build
-
Open these pages first:
-
Start Wrangler:
npx wrangler dev .output/server/index.mjs --site .output/public
- Select all opened tabs in Chrome by holding the Shift key
- Refresh all tabs at the same time and check console for errors. The errored tabs will also contain an error message:
Error: The script will never generate a response.
- Repeat steps 3-6 if no error is visible in console
- Remove
<Icon>
fromapp.vue
and check again
- Change to the the
iconify
directory
cd iconify
- Install dependencies:
pnpm i
- Start Wrangler:
npx wrangler dev index.js
- Open page
- Check console and the open tab
✘ [ERROR] Uncaught (in response) Error: The script will never generate a response.
✘ [ERROR] A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.