eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

安装@eva/plugin-matterjs后有warning #37

Closed BobNiMa closed 3 years ago

BobNiMa commented 3 years ago

plugin-matterjs下找不到poly-decomp

WARNING in ./node_modules/@eva/plugin-matterjs/dist/plugin-matterjs.esm.js 59:11-33 Module not found: Error: Can't resolve 'poly-decomp' in 'D:\projects\eva-start-demo\node_modules\@eva\plugin-matterjs\dist'

BobNiMa commented 3 years ago

emmm,就是要手动装一下

fanmingfei commented 3 years ago

可以参考Matterjs的官方方案 https://github.com/liabru/matter-js/issues/160