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

webpack でビルドすると WARNING が出る #3

Open
gorohash opened this issue Feb 13, 2020 · 0 comments
Open

webpack でビルドすると WARNING が出る #3

gorohash opened this issue Feb 13, 2020 · 0 comments

Comments

@gorohash
Copy link
Contributor

garoon-soap を使ったソースコードを webpack でビルドすると以下の WARNING が出ます。

WARNING in ./node_modules/encoding/lib/iconv-loader.js 9:12-34
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/encoding/lib/encoding.js
 @ ./node_modules/node-fetch/lib/body.js
 @ ./node_modules/node-fetch/index.js
 @ ./node_modules/garoon-soap/dist/client/client.js
 @ ./node_modules/garoon-soap/dist/client/base.js
 @ ./node_modules/garoon-soap/dist/garoon-soap.js
 @ ./node_modules/garoon-soap/dist/main.js

node-fetch のバージョン2系で依存から encoding を外しているようなので、node-fetch のバージョンを上げていただくと WARNING が解消できそうです。
node-fetch/node-fetch#302

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