MDClub
首页
注册

npm WARN @hyperapp/router@0.7.2 requires a peer of hyperapp@1.2.5

jonahzheng
2022-09-07 07:12:30

应该是包冲突了,好像 @hyperapp/router已经废弃了

root@iZ23h4x1pxcZ:~/mdclub_dev/mdclub-theme-material# npm install
npm WARN @hyperapp/router@0.7.2 requires a peer of hyperapp@1.2.5 but none is installed. You must install peer dependencies yourself.

npm ERR! code EEXIST
npm ERR! path /root/mdclub_dev/mdclub-theme-material/node_modules/@babel/preset-env/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver
npm ERR! Refusing to delete /root/mdclub_dev/mdclub-theme-material/node_modules/@babel/preset-env/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver: containing path /root/mdclub_dev/mdclub-theme-material/node_modules/@babel/preset-env/node_modules/@babel/helper-compilation-targets/node_modules/semver isn't under npm's control
npm ERR! File exists: /root/mdclub_dev/mdclub-theme-material/node_modules/@babel/preset-env/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-09-06T23_04_08_690Z-debug.log