Replies: 4 comments 3 replies
-
FWIW I agree, pnpm causes problem in WSL environments. I needed to work around by editing frontend/.npmrc to have node_linker=hoisted. In general, this project would take care not to introduce trendy/fashionable solutions to problems that long-standing tools have solved sufficiently. Another example I see of this is Poetry -- until just 3 weeks ago, it wasn't possible to install only-binary packages (which is sometimes necessary , and has been long possible with pip) |
Beta Was this translation helpful? Give feedback.
-
When trying to actively develop on the OpenDevin codebase, switching branches frequently and reinstalling dependencies from scratch; pnpm makes a tangible quality of life improvement over npm, today. "Today" is key in that statement, at this moment in time pnpm is significantly more performant (both in terms of time cost and storage space) - which is not to say npm wont catch-up, because that's what happened to yarn over time. I would hope that OpenDevin gets better at it's packaging game (see) so end-users who are just looking to try it out don't have to deal with dev tools. npm, pip, node even python itself aren't free from installation issues, paths isues and os-compatibility issues. IMHO, focus effort on improving OpenDevin packaging to insulate end-users from dev-tooling - and let devs optimize dev-tools for dev-efficiency. |
Beta Was this translation helpful? Give feedback.
-
I tested NPM, Yarn, and PNPM for building the front end and found PNPM to be the fastest among them all. PNPM is more than enough for a simple build, and switching to Yarn will provide no obvious profits. |
Beta Was this translation helpful? Give feedback.
-
OK, thanks for the discussion everyone! I think that we'll go ahead with npm to lower the barrier of entry. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I see that we are using pnpm for package management, but it is causing errors on my computer: #819
I'd like to discuss if we really need pnpm. It improves efficiency, but it adds another non-standard dependency for our project (in a project that already has lots of dependencies), and if it may be a source of errors, maybe we can just rely on good-old npm?
What do people think?
Beta Was this translation helpful? Give feedback.
All reactions