#No hoisted script at index 0 error at every 2nd reload of the homepage

2 messages · Page 1 of 1 (latest)

viscid elbow
#

I'm getting the following error every 2nd reload of the homepage.

I have no clue where to begin. I did try to

  1. remove the .astro cache
  2. npm update and clearing of the cache
    Did not help.

No hoisted script at index 0

at LoadPluginContext.load (file:///home/rehan/academy/web/node_modules/astro/dist/vite-plugin-astro/index.js:108:19)
    at PluginContainer.load (file:///home/rehan/academy/web/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:49555:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async loadAndTransform (file:///home/rehan/academy/web/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:52349:22)
    at async viteTransformMiddleware (file:///home/rehan/academy/web/node_modules/vite/dist/node/chunks/dep-C1-ZB6nQ.js:62168:24)
bleak umbra
#

Is your repo public? Could we see what your code looks like?