blackjk3 / react-form-builder

A complete react form builder that interfaces with a json endpoint to load and save generated forms. The toolbox contains 16 items for gathering data. Everything from star ratings to signature boxes!
MIT License
654 stars 537 forks source link

Dependency Issues #6

Open lube opened 8 years ago

lube commented 8 years ago

Maybe this is my fault as I am definitely not good enough at npm + webpack for the frontend but I have the following warnings after installing the package.

npm WARN react-forms-builder@0.0.1 requires a peer of react@>= 0.13.0, < 0.14.0 but none was installed. npm WARN reflux@0.2.13 requires a peer of react@>=0.12.2 <0.15.0 but none was installed.

If I try to start the webpack build.


ERROR in ./~/react-forms-builder/lib/app.js
Module not found: Error: Cannot resolve module 'react/addons' in ../node_modules/react-forms-builder/lib
 @ ./~/react-forms-builder/lib/app.js 1:99-122
ju5td0m7m1nd commented 8 years ago

we have to go /node_moudles/react-form-builders/ and run npm install by ourselves

I consider this is an issue that author didn't compile those dependency into bundle file

arunlals commented 8 years ago

ERROR in ./~/react-forms-builder/lib/app.js Module not found: Error: Cannot resolve module 'react/addons' in theme\node_modules\react-forms-builder\lib @ ./~/react-forms-builder/lib/app.js 1:99-122


Arun@ARUNS-LAP MINGW64 /c/wamp64/www/theme/node_modules/react-forms-builder (master) $ npm install npm WARN deprecated react-tools@0.13.3: react-tools is deprecated. For more info rmation, visit https://fb.me/react-tools-deprecated npm WARN deprecated babel@6.5.2: Babel's CLI commands have been moved from the b abel package to the babel-cli package npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated css-list@0.1.3: Deprecated.