danielroe / danielroe/nuxt-workers

Cannot read properties of undefined (reading 'createElement')

Open
#111 3 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 just upgraded to 0.1.0 from 0.0.3.

In my main repo, I'm getting error something like "document" is not defined. However when I've created the reproduction link it became

`Cannot read properties of undefined (reading 'createElement')`

Rollback to 0.0.3 fixes the issue.

### 🛠️ To reproduce

https://stackblitz.com/edit/github-yar8wcdy?file=workers%2Ftest.ts,app.vue

### 🌈 Expected behaviour

document should work

### ℹ️ Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.