Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'document is not defined' with Electron 21.2.2 app #6

Open
busterbogheart opened this issue Mar 21, 2023 · 0 comments
Open

'document is not defined' with Electron 21.2.2 app #6

busterbogheart opened this issue Mar 21, 2023 · 0 comments

Comments

@busterbogheart
Copy link

Using 1.0.8, and implementing simply with require('electron-css-reload')();, this plugin causes an error:

App threw an error during load [1] ReferenceError: document is not defined [1] at Object.<anonymous> (/Users/ethankemp/dataclay/projector-electron/node_modules/electron-css-reload/reload.js:9:13) [1] at Module._compile (node:internal/modules/cjs/loader:1120:14) [1] at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)

Using Electron 21.2.2 with Svelte.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant