Skip to content

Commit e0ca3db

Browse files
maagentaKomediruzecki
authored andcommitted
Add Node.js 16 prerequisite to readme and package.json
1 parent 26beab6 commit e0ca3db

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
],
3737
"author": "Junyoung Choi <fluke8259@gmail.com>",
3838
"license": "GPL-3.0",
39+
"engines": {
40+
"node": "16.x"
41+
},
3942
"devDependencies": {
4043
"@babel/core": "^7.6.0",
4144
"@babel/plugin-proposal-class-properties": "^7.5.5",

readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Standalone app separated from Boost Note for better local space support. See [Ro
4141
- `electron` : Compiled electron resources from `npm run build:electron` script. You can run it by `npm start` script. The resources are for packaging the electron app.
4242
- `src` : Source code.
4343

44+
### Prerequisites
45+
46+
- Node.js 16.x — newer versions are not supported
47+
48+
```sh
49+
nvm install 16
50+
nvm use 16
51+
```
52+
4453
### Build
4554

4655
Please copy `.env.default` file and create a file named `.env` in the root of the project directory, or the build will fail.
@@ -49,7 +58,7 @@ Please copy `.env.default` file and create a file named `.env` in the root of th
4958

5059
```sh
5160
# Install dependencies
52-
npm i
61+
npm install
5362

5463
# Run webpack
5564
npm run dev:webpack

0 commit comments

Comments
 (0)