camaro: The V8 platform used by this instance of Node does not support creating Workers
Describe the bug Updated from camaro 5.0.3 to 6 (6.0.3). Using camaro with electron to parse many XML strings. After the update electron crashes with the following error:
The V8 platform used by this instance of Node does not support creating Workers
Minimal Script To Reproduce
import { ready, transform } from 'camaro';
await ready();
result = await transform(files[fileName], template);
Expected behavior Camaro not breaking my electron app.
- camaro version: 6.0.3
- Node version: v12.18.3
- Operating system: Windows 10 Version1909 (Build 18363.900)
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 15 (6 by maintainers)
Oh sorry I thought we were in electron’s repo here 🤦♂️ my bad. You can probably reproduce the issue by running this library inside Electron’s renderer process.