H
H
Hanry6542020-05-07 16:08:04
Vue.js
Hanry654, 2020-05-07 16:08:04

When starting the server, I get 2 warning (after connecting a new library), how to fix it?

Starting development server...
98% after emitting CopyPlugin

WARNING Compiled with 2 warnings

warning in ./node_modules/got/source/request-as-event-emitter.js

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

warning in ./node_modules/keyv/src/index.js

Critical dependency: the request of a dependency is an expression

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2020-05-07
@rpsv

Google it?
https://github.com/webpack/webpack/issues/2675
Well, since the problem is when connecting a new lib, then replace it with another one, or look in the dock or faq of the library itself for information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question