Rails 用最新的 Webpacker,老是提示 has unmet peer dependency.

southorion · February 03, 2019 · Last by southorion replied at February 07, 2019 · 4458 hits

用最新版本的 webpacker-4.0-rc7。老是提示有 unmet peer dependency 按照 webpacker github repo 里的 yarn upgrade 也不行。(https://github.com/rails/webpacker/issues/1078yarn)是不是得手动进去到那个依赖项里,install 啊。 还请各位大佬不吝赐教。多谢啦。

你主动 yarn add 下就好了

Reply to jasl

好的,我试试。

You need to Sign in before reply, if you don't have an account, please Sign up first.