小编Ama*_*l J的帖子

由于依赖问题,Heroku 未部署构建

在heroku中部署构建时,它导致依赖错误,有人遇到过同样的情况吗?根本原因是什么?有办法解决这个问题吗?heroku 构建以前可以工作,但现在发生了这个错误,这真的很令人困惑

remote: -----> Installing dependencies
    remote:        Installing node modules
    remote:        npm ERR! code ERESOLVE
    remote:        npm ERR! ERESOLVE could not resolve
    remote:        npm ERR! 
    remote:        npm ERR! While resolving: next@12.1.6
    remote:        npm ERR! Found: react@16.14.0
    remote:        npm ERR! node_modules/react
    remote:        npm ERR!   react@"^16.10.1" from the root project
    remote:        npm ERR!   peer react@"^16.8.0" from @apollo/react-common@3.1.4
    remote:        npm ERR!   node_modules/@apollo/react-common
    remote:        npm ERR!     @apollo/react-common@"^3.1.4" from @apollo/react-components@3.1.5
    remote:        npm ERR!     node_modules/@apollo/react-components
    remote:        npm ERR!       @apollo/react-components@"^3.1.5" from @apollo/react-hoc@3.1.5
    remote:        npm ERR!       node_modules/@apollo/react-hoc
    remote: …
Run Code Online (Sandbox Code Playgroud)

heroku shopify

5
推荐指数
2
解决办法
1145
查看次数

标签 统计

heroku ×1

shopify ×1