react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

Can't run web examples

Open dmg46664 opened this issue 2 years ago • 0 comments

Description

Checking out repo and trying to run web examples results in error.

output.txt

Lots of errors of the form

ERROR in ../package/src/animation/timing/Easing.ts 1:27-82
Module not found: Error: Can't resolve '@babel/runtime/helpers/interopRequireDefault' in '/Users/dmg46664/projects/react-native-skia/package/src/animation/timing'
 @ ../package/src/animation/timing/index.ts 1:494-513
 @ ../package/src/animation/index.ts 1:69-88
 @ ../package/src/index.ts 1:2696-2718
 @ ../package/index.ts 1:66-82
 @ ./src/Tests/useAssets.ts 1:278-315
 @ ./src/App.tsx 1:628-656
 @ ./index.web.js 17:21-40

Version

latest (5 min before bug report)

Latest commit at time of writing

Steps to reproduce

git clone https://github.com/Shopify/react-native-skia.git
cd react-native-skia/example
yarn install
yarn web > output.txt
<w> [webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:8081/
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.1.10:8081/
<i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8081/
<i> [webpack-dev-server] Content not from webpack is served from '/Users/dmg46664/projects/react-native-skia/example/public' directory
<i> [webpack-dev-server] 404s will fallback to '/index.html'

Snack, code example, screenshot, or link to a repository

Not applicable.

dmg46664 avatar Nov 22 '23 09:11 dmg46664