brianzinn/create-react-app-typescript-babylonjs

npm start fails to compile

dannysemi opened this issue · 2 comments

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:

  1. Clone repo
  2. npm install
  3. npm start

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.6

Works great out of the box now. Thanks!