Failed to compile
See original GitHub issueError
./node_modules/graphql-language-service-interface/esm/GraphQLLanguageService.js 100:23
--
239 | Module parse failed: Unexpected token (100:23)
240 | You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
241 | \| }
242 | \| let customRules = null;
243 | > if (extensions?.customValidationRules &&
244 | \| typeof extensions.customValidationRules === 'function') {
245 | \| customRules = extensions.customValidationRules(this._graphQLConfig);
Temporary Solution
downgrade graphql-language-service-interface to 2.8.2 We’re were forced to use https://github.com/rogeriochaves/npm-force-resolutions which works in this case but is not ideal.
Actual Solution
https://babeljs.io/docs/en/babel-plugin-proposal-optional-chaining
Potential Issues
Carets https://github.com/graphql/graphiql/blob/main/packages/graphiql/package.json#L52
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Webpack failed to compile - Stack Overflow
1 Answer 1 · inside index.js you are importing a css file and webpack is unable to handle it, this is what the...
Read more >Why my React App Failed To Compile - Timonwa's Notes
Bugs and Errors will come in different shapes and sizes, styles and formats you never expect, causing your react app not to compile....
Read more >Failed to compile error when running on dev server locally ...
After freshly run create-react-app demo cd ./demo npm start Then modify App.css. Console shows Failed to compile. Error in .
Read more >[XSIM 43-3410] Failed to compile one of the generated C files.
ERROR: [XSIM 43-3410] Failed to compile one of the generated C files. Hello,. I just tried to run a simple simulation but it...
Read more >Failed to compile. Module not found: Error: - Support
Having this error building a react (typescript) app The error begins at timestamp 5:09:47 PM 5:09:05 PM: Build ready to start 5:09:07 PM: ......
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 Free
Top 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
@acao how would one watch for or subscribe to whatever the next release is so one could unpin those versions?
We’ve adjusted
esm
exports to targetes6
, so this should be fixed next release!cjs
should still bees6
, except for the CLI and server ofc