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

Harmony throwing warnings when compiling #55

Open
snario opened this issue May 4, 2015 · 0 comments
Open

Harmony throwing warnings when compiling #55

snario opened this issue May 4, 2015 · 0 comments

Comments

@snario
Copy link

snario commented May 4, 2015

All these logs from warnings are getting really annoying, and I can't find any reason why they would be happening. They only started recently (like 2 weeks) though -- no idea what is causing them.

webpack.config.js (loaders)

{
           test: /\.jsx?$/,
           loaders: ['react-hot', 'jsx-loader?harmony'],

           include: [
               // everything local
               path.resolve(__dirname, "js"),

               // troublemakers
               path.resolve(__dirname, "node_modules/react-progressbar/index.js"),
           ],

}

Logs

WARNING in ./~/harmony/~/formidable/lib/incoming_form.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/incoming_form.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/incoming_form.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/incoming_form.js 1:0-13

WARNING in ./~/harmony/~/formidable/lib/file.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/file.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/file.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/file.js 1:0-13

WARNING in ./~/harmony/~/formidable/lib/querystring_parser.js
Critical dependencies:
1:43-50 require function is used in a way, in which dependencies cannot be statically extracted
 @ ./~/harmony/~/formidable/lib/querystring_parser.js 1:43-50

WARNING in ./~/harmony/~/formidable/lib/querystring_parser.js
Critical dependencies:
1:0-13 the request of a dependency is an expression
 @ ./~/harmony/~/formidable/lib/querystring_parser.js 1:0-13
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

1 participant