hello kind folk! i’m picking up babylon because i’m interested in doing work to improve its compatibility and possibly simplify its build system. however, i immediately encountered this error, and figure there must be some mistake i’m making:
- i did a fresh clone of babylon from github
- running
npm install
fails, while sitting on the latestmaster
commitbfdfdab7a13bd22915c0eca320f08a61cb560d8d
i thought this was strange, considering the azure pipeline suggests the nightly build succeeded? i’m getting this error:
chase@ragnarok-vm:/work/Babylon.js$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: babylonjs@5.0.0-alpha.12
npm ERR! Found: typescript@4.2.3
npm ERR! node_modules/typescript
npm ERR! dev typescript@"^4.2.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"^2.7 || ^3" from awesome-typescript-loader@5.2.1
npm ERR! node_modules/awesome-typescript-loader
npm ERR! dev awesome-typescript-loader@"^5.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/chase/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/chase/.npm/_logs/2021-03-05T09_54_59_231Z-debug.log
is there something on my end that i’m not thinking about? i wanted to ask about this here, before i creating a github issue about this. thanks!