npm start fails to compile
dannysemi opened this issue · 2 comments
dannysemi commented
Failed to compile.
./node_modules/react-babylonjs/dist/react-babylonjs.js
Module not found: Can't resolve '@react-spring/animated' in 'C:\Users\******\Documents\ReactBabylonjsTest\node_modules\react-babylonjs\dist'
Steps to reproduce:
- Clone repo
- npm install
- npm start
brianzinn commented
Thank-you for reporting @dannysemi. I think the project itself has taken too many dependencies - I was hoping as a peer dependency it wouldn't be required. Drop down to 2.0.6 and I will split off the react-spring into a separate NPM.
yarn add react-babylonjs@2.0.6dannysemi commented
Works great out of the box now. Thanks!