Packages version compatiability #323
-
I tried installing SDEverywhere in windows and i wanna test it out but i keep running to this one error with pnpm test command and am unsure is it the packages with SDEverywhere or with pnpm... The error am getting is ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @sdeverywhere/[email protected] test: Can you help me out with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi there, if you're looking to contribute to SDEverywhere or run the test models, it is necessary to do a one-time "build" of all packages. In other words, be sure to do More details on this wiki page: If it's not working on your machine, please provide more details in this thread showing what commands you tried, full console output, etc. Note that I'm in the middle of rewriting SDEverywhere documentation (and moving various sections from the README to the wiki). If you want to see the latest in-development version of the README, you can find that on a branch here: In particular, if you are looking to use SDEverywhere on your own SD model (or on the SIR or Hello World models in the |
Beta Was this translation helpful? Give feedback.
Sorry for the difficulties you're encountering. I'll see if I can reproduce the issues locally on Windows or Ubuntu.
In the meantime, I would recommend trying the examples outside of the
SDEverywhere
directory on your machine. Working inside theSDEverywhere
directory is only needed for contributors/developers of SDE, and since it's a monorepo, it's a little bit more involved to set up and diagnose issues. If you instead use the SDEverywhere packages as an end user would (installing from the npm registry instead of using locally built ones) things are more likely to work.To try that approach (ideally on Ubuntu, but Windows should work too), copy the
SDEverywhere/examples/hello-world
dire…