danielroe / danielroe/nuxt-workers

Not working in Nuxt v4.4.8

Open
#269 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
447
Forks
9
Avg merge
21h 19m
Merged PRs (30d)
23

Description

### 🐛 The bug

I am trying to use this module using the example provided in the documentation but keep getting this error
`hi is not defined`

Am i doing something wrong? [Here](https://github.com/jeky1950/nuxt-workers-module-error-reproduction.git) is my reproduction repo.

### 🛠️ To reproduce

https://github.com/jeky1950/nuxt-workers-module-error-reproduction.git

### 🌈 Expected behaviour

I expected the web worker example in the documentation to work in Nuxt v4.4.8.

### ℹ️ Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running the linked nuxt-workers-module-error-reproduction repository and compare it with the web worker example in the documentation. Trace the source of the “hi is not defined” error in Nuxt v4.4.8; done means the documented example works without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.