question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Critical dependency: the request of a dependency is an expression

See original GitHub issue

Using version 1.4.0 in my app built with create-react-app. I see the following warning when building or running the development server:

Compiled with warnings.

./node_modules/draftjs-md-converter/dist/index.js
Critical dependency: the request of a dependency is an expression

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

It doesn’t appear to break anything in my app, but would be nice to suppress this warning.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
umarjavedsecommented, Nov 5, 2020

@kadikraman That issue is still there please provide some solution for that.

1reaction
arthureggertcommented, Mar 16, 2020

@josefalcon to me this looks like a parcel problem

There is no way to remove this warning from this repo point of view.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack - Critical dependency: the request of a dependency ...
Webpack - Critical dependency: the request of a dependency is an expression · Manually configure webpack to import the required libraries and ...
Read more >
Webpack Warning: Critical dependency: the request of a ...
[Edit: This seems to be related with WebPack in General, not with Angular] When activating this module in an Angular 12 project, this...
Read more >
the request of a dependency is an expression ... - You.com
Critical Dependency: the Request Of a Dependency Is an Expression ... A healthy dependency is one that we can rely on without it...
Read more >
the request of a dependency is an expression - Get Help
When I use “require( )” inside a v-bind:src directive, I get “the warning Critical dependency: the request of a dependency is an expression” ......
Read more >
Integration with WebPack - Linkurious documentation
The optional dependencies used by Ogma is the xlsx library (to export in the XLSX ... Critical dependency: the request of a dependency...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found