Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warnings #22

Closed
rickmed opened this issue Jul 19, 2016 · 2 comments
Closed

warnings #22

rickmed opened this issue Jul 19, 2016 · 2 comments
Labels

Comments

@rickmed
Copy link

rickmed commented Jul 19, 2016

Hello, I got the following client warnings

WARNING in ./src/shared/stores/ui.js

C:\Users\rickm\Documents\Google Drive\Projects\NodeJS\rfx-stack\src\shared\stores\ui.js
87:14 warning Unexpected console statement no-console

✖ 1 problem (0 errors, 1 warning)


WARNING in .//ajv/lib/async.js
Module not found: Error: Cannot resolve module 'regenerator' in C:\Users\rickm\Documents\Google Drive\Projects\NodeJS\rfx-stack\node_modules\ajv\lib
@ ./
/ajv/lib/async.js 95:20-47

WARNING in .//ajv/lib/async.js
Module not found: Error: Cannot resolve module 'nodent' in C:\Users\rickm\Documents\Google Drive\Projects\NodeJS\rfx-stack\node_modules\ajv\lib
@ ./
/ajv/lib/async.js 116:26-48

WARNING in .//ajv/lib/compile/index.js
Module not found: Error: Cannot resolve module 'js-beautify' in C:\Users\rickm\Documents\Google Drive\Projects\NodeJS\rfx-stack\node_modules\ajv\lib\compile
@ ./
/ajv/lib/compile/index.js 8:42-69


Warning: Unknown prop onTouchTap on

tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in div (created by Overlay)
in Overlay (created by Drawer)
in div (created by Drawer)
in Drawer (created by AppNav)
in AppNav (created by AppLayout)
in div
in MatchMediaProvider (created by AppLayout)
in AppLayout (created by RouterContext)
in RouterContext
in ContextProvider
in MuiThemeProvider

@foxhound87
Copy link
Owner

foxhound87 commented Jul 19, 2016

Hi, to remove the ajv warning you can add to your webpack config this plugin:
new webpack.IgnorePlugin(/regenerator|nodent|js\-beautify/, /ajv/).
More info here: ajv-validator/ajv#117

The Unknown prop onTouchTap warning is caused by a recent react update, it will be fixed by the official material-ui repo. More info here: mui/material-ui#4670

The warning in the UI Store is caused by the use of console.warn, you can remove it if it's annoying.

@foxhound87
Copy link
Owner

foxhound87 commented Aug 5, 2016

AJV Warnings Removed 246f71e /

new webpack.IgnorePlugin(/regenerator|nodent|js\-beautify/, /ajv/),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants