ngokevin / aframe-react-boilerplate

:sunglasses: Boilerplate for building virtual reality (VR) experiences with A-Frame and React using aframe-react.
https://ngokevin.github.io/aframe-react-boilerplate/
MIT License
376 stars 156 forks source link

Added missing React related dependencies #27

Closed ernoaapa closed 7 years ago

ernoaapa commented 7 years ago

package.json were missing react dependencies. Fixes #26

When npm install and try to start up got error:

ERROR in ./src/js/app.js
Module not found: Error: Cannot resolve module 'react' in /private/tmp/aframe-react-boilerplate/src/js
 @ ./src/js/app.js 15:13-29

ERROR in ./src/js/app.js
Module not found: Error: Cannot resolve module 'react-dom' in /private/tmp/aframe-react-boilerplate/src/js
 @ ./src/js/app.js 19:16-36

ERROR in ./~/aframe-react/dist/index.js
Module not found: Error: Cannot resolve module 'react' in /private/tmp/aframe-react-boilerplate/node_modules/aframe-react/dist
 @ ./~/aframe-react/dist/index.js 13:13-29

ERROR in ./~/aframe-react/dist/index.js
Module not found: Error: Cannot resolve module 'react-dom' in /private/tmp/aframe-react-boilerplate/node_modules/aframe-react/dist
 @ ./~/aframe-react/dist/index.js 17:16-36

ERROR in ./src/js/components/Camera.js
Module not found: Error: Cannot resolve module 'react' in /private/tmp/aframe-react-boilerplate/src/js/components
 @ ./src/js/components/Camera.js 11:13-29

ERROR in ./src/js/components/Sky.js
Module not found: Error: Cannot resolve module 'react' in /private/tmp/aframe-react-boilerplate/src/js/components
 @ ./src/js/components/Sky.js 9:13-29

ERROR in ./src/js/components/Text.js
Module not found: Error: Cannot resolve module 'react' in /private/tmp/aframe-react-boilerplate/src/js/components
 @ ./src/js/components/Text.js 11:13-29