mirror of
https://github.com/lmstudio-ai/lms.git
synced 2025-07-25 10:18:10 +08:00
Enforce node and npm versions (#254)
* Enforce node and npm versions * Bump to v20
This commit is contained in:
@ -51,7 +51,7 @@ Here are some frequently used commands:
|
||||
|
||||
You can build the project locally by following these steps:
|
||||
|
||||
_Note: developing lms requires Node.js 18.6.0_
|
||||
_Note: make sure the version of Node you have installed matches the one specified in the `engines` of the `package.json`._
|
||||
|
||||
```bash
|
||||
git clone https://github.com/lmstudio-ai/lms.git
|
||||
|
@ -12,6 +12,10 @@
|
||||
"clean": "shx rm -rf ./dist && shx rm -f ./tsconfig.tsbuildinfo",
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.12.2",
|
||||
"npm": ">=8"
|
||||
},
|
||||
"author": "LM Studio <team@lmstudio.ai> (https://lmstudio.ai)",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
Reference in New Issue
Block a user