Warning: You may need an appropriate loader to handle this file type.
See original GitHub issuehi folks! I am getting 6 big scary yellow warnings all of this nature when trying to use the graphiql
React component… how do i silence this please?
WARNING in ./~/graphql-language-service-interface/dist/getOutline.js.flow
Module parse failed: ROUTE_TO_ABOVEMENTIONED_FILE Unexpected token (11:12)
You may need an appropriate loader to handle this file type.
| */
|
| import type {
| Outline,
| TextToken,
@ ./~/graphql-language-service-interface/dist ^.*$
@ ./~/graphql-language-service-interface/dist/GraphQLLanguageService.js
@ ./~/graphql-language-service-interface/dist/index.js
@ ./~/codemirror-graphql/hint.js
@ ./~/graphiql/dist/components/QueryEditor.js
@ ./~/graphiql/dist/components/GraphiQL.js
@ ./~/graphiql/dist/index.js
@ ./client/components/graphql.js
@ ./client/components/user-home.js
@ ./client/components/index.js
@ ./client/routes.js
@ ./client/index.js
Issue Analytics
- State:
- Created 6 years ago
- Reactions:29
- Comments:13 (3 by maintainers)
Top Results From Across the Web
"You may need an appropriate loader to handle this file type ...
js file is doing is importing react, but it seems like the 'babel-loader' is not working. I am using 'babel-loader' 6.0.0. javascript ·...
Read more >Module parse failed: Unexpected token. You may ... - GitHub
Module parse failed: Unexpected token. You may need an appropriate loader to handle this file type, currently no loaders are configured to process...
Read more >You may need an appropriate loader to handle this file type ...
I 'm having a problem configuring Webpack for Typescript and React. After running the NPM script: webpack serves ./webpack/webpack.config.ts ...
Read more >Fix : You may need an appropriate loader to handle this file type
The “You may need an appropriate loader to handle this file type” error is encountered in the command prompt of Windows or Linux...
Read more >expo you may need an appropriate loader to handle this file ...
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file." Asked Sep 13,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a temporary solution I ended up installing
ignore-loader
and adding the following to my webpack config:This fix for this issue is to have a Webpack Loader configured to strip flow types:
webpack config: