[Question]: Multiple different node versions #1691
-
What is your question?The versions of Node being used differ in the following three files.
More DetailsI think it's generally better to have matching runtime versions, but as listed below, they differ. Is there a specific reason for using different versions?
What is the main subject of your question?Other ScreenshotsI have confirmed that in my forked repository, it works in devcontainer with Node v20( ryohei-kamiya/LibreChat@972402e...22627ee ↓Test fix-node-version_ad-hoc-test_20240131.mp4I needed to reinstall the packages, but since /workspaces# rm -rf node_modules/ packages/data-provider/node_modules/ packages/data-provider/dist/ client/dist/ api/node_modules/
/workspaces# cd packages/data-provider/
/workspaces# npm install
/workspaces# npm run build
/workspaces# cd ../../client
/workspaces# npm install
/workspaces# cd ..
/workspaces# npm install
/workspaces# npm run frontend:dev After executing the above, I opened another virtual terminal and executed the following. /workspaces# npm run backend:dev If it seems necessary, I will submit a pull request. Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Needs to be updated to v18 as v19 is at End of life. feel free to submit a PR for this.
It should be updated to v18 too as there are some issues with v20, but it doesn't affect images built in github actions runtime which is the primary use case for this image, so I would like to leave it as is. When v20 reaches more maturity (on docker at least), they should all be bumped to that at some point. |
Beta Was this translation helpful? Give feedback.
Needs to be updated to v18 as v19 is at End of life. feel free to submit a PR for this.
It should be updated to v18 too as there are some issues with v20, but it doesn't affect images built in github actions runtime which is the primary use case for this image, so I would like to leave it as is.
When v20 reaches more maturity (on docker at least), they should all be bumped to that at some point.