histoire
histoire copied to clipboard
'canvas.getContext is not a function' error occured when i use lottie
Describe the bug
'canvas.getContext is not a function' error occured when i use lottie
Reproduction
https://github.com/histoire-dev/histoire/compare/main...kyumoon:histoire:main
System Info
System:
OS: macOS 12.3
CPU: (10) arm64 Apple M1 Pro
Memory: 242.02 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.16.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.11.0 - /usr/local/bin/npm
Browsers:
Chrome: 104.0.5112.79
Safari: 15.4
Safari Technology Preview: 15.4
npmPackages:
@histoire/plugin-vue: workspace:* => 0.9.6
@vitejs/plugin-vue: ^3.0.1 => 3.0.1
histoire: workspace:* => 0.9.6
vite: ^3.0.5 => 3.0.5
Used Package Manager
pnpm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.