vazco / uniforms

A React library for building forms from any schema.
https://uniforms.tools
MIT License
1.95k stars 239 forks source link

Installation problems? #439

Closed HenrikGr closed 6 years ago

HenrikGr commented 6 years ago

I started to test uniforms and uniforms-material and did, npm install uniforms uniforms-material, and tested with a jsonSchema and it seems to work nice so far.

But, i do get some nasty messages in the console such as;

./node_modules/uniforms/GraphQLBridge.js Module not found: Can't resolve 'graphql' in

./node_modules/uniforms/SimpleSchemaBridge.js Module not found: Can't resolve 'meteor/aldeed:simple-schema' in

./node_modules/uniforms/SimpleSchemaBridge.js Module not found: Can't resolve 'meteor/check' in

Do I have to install these? I do intend to use only jsonSchema and no other schemas.

I'm using create-react-app, the latest and do not use Meteor.

Best Regards Henrik Grönvall

radekmie commented 6 years ago

Hi @HenrikGr. No, it’s not a problem. These are just warnings from Webpack - you can simply ignore them. If you want some more in-depth answer, look for it in the issues - it was asked few times already.

alexesDev commented 6 years ago

@HenrikGr just add ignore for meteor deps:

plugins: [
  new webpack.IgnorePlugin(/(aldeed:simple-schema|meteor\/check)/),
],