gre / gl-react

gl-react – React library to write and compose WebGL shaders

Home Page:https://gl-react-cookbook.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookbook-expo won't run (750f241)

codekiln opened this issue · comments

Running cookbook-expo example doesn't work for me locally:

Expected behavior:

cookbook-expo demo opens in iOS simulator

Actual behavior:

"Unhandled JS Exception: Unexpected keyword 'import'" (near node_modules/expo/tools/hashAssetFiles:1403)
image
image

Warning: 'react' peer dependency missing. Run `npm ls` in /Users/pnore/dev/react/gl-react/examples/cookbook-expo to see full warning.
Warning: Installed version 2.4.2 of 'seedrandom' does not satisfy required version github:gre/seedrandom#released

If there is an issue running your project, please run `npm install` in /Users/pnore/dev/react/gl-react/examples/cookbook-expo and restart.

library version

$ yarn list --depth=0 --pattern="react|gl|expo" > yarn-list.txt: yarn-list.txt

Mac 10.12.5 Sierra

Steps to reproduce the behavior

git clone https://github.com/gre/gl-react.git
cd gl-react/examples/cookbook-expo/
yarn install

Expo IDE --> open project

  • gear icon: host: localhost
  • device --> iOS Simulator

latest version should be fixed