aframe-react-boilerplate icon indicating copy to clipboard operation
aframe-react-boilerplate copied to clipboard

prop-types module not found

Open steverob opened this issue 7 years ago • 3 comments

I am getting this -

Failed to compile.

Error in ./~/aframe-react/dist/index.js
Module not found: 'prop-types' in ~/dev/vr/kastioVR-poc/node_modules/aframe-react/dist

 @ ./~/aframe-react/dist/index.js 20:17-38

I did -

yarn install
yarn run start

steverob avatar Apr 14 '17 12:04 steverob

You should npm install prop-types --save. https://github.com/aframevr/aframe-react/issues/75 https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

avantcontra avatar Apr 14 '17 15:04 avantcontra

Thanks. Silly me

Regards Steve Robinson

On 14-Apr-2017, at 8:36 PM, Contra [email protected] wrote:

You should npm install prop-types --save. aframevr/aframe-react#75 https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

steverob avatar Apr 14 '17 16:04 steverob

Sorry, I wasn't using Webpack to include that in before. I tried to include it, but it increased the file size too much to my liking. I've pushed a release that just removes prop types.

ngokevin avatar Apr 14 '17 19:04 ngokevin