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

require function is used in a way in which dependencies cannot be statically extracted warning #46

Open
qinfchen opened this issue Jul 20, 2018 · 3 comments

Comments

@qinfchen
Copy link
Contributor

qinfchen commented Jul 20, 2018

i am seeing a lot of these warnings when building conjure-typescript locally.

WARNING in ./node_modules/yargs/index.js 12:39-46
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./src/conjureTypeScript.ts

WARNING in ./node_modules/yargs/yargs.js 350:33-40
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./node_modules/yargs/index.js
 @ ./src/conjureTypeScript.ts

WARNING in ./node_modules/yargs/yargs.js 505:83-90
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./node_modules/yargs/index.js
 @ ./src/conjureTypeScript.ts

WARNING in ./node_modules/require-main-filename/index.js 2:25-32
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ./node_modules/yargs/yargs.js
 @ ./node_modules/yargs/index.js
 @ ./src/conjureTypeScript.ts
@tylers-username
Copy link

@qinfchen - were you able to resolve this?

@qinfchen
Copy link
Contributor Author

qinfchen commented Feb 4, 2019

No, I didn't resolve this. Is this still an issue? tagging @ferozco and @iamdanfox since they are more familiar with this project.

@ferozco
Copy link
Contributor

ferozco commented Feb 4, 2019

The issue shouldn't impact the runtime of the CLI. @tylerssn have you been impacted by this?

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

No branches or pull requests

3 participants