mirror of
https://github.com/urbit/developers.urbit.org.git
synced 2024-09-11 13:55:59 +03:00
Merge pull request #249 from netpoetica/refactor/specify-node-engine-version
Refactor/specify node engine version
This commit is contained in:
commit
4a99ee8951
23
README.md
23
README.md
@ -2,7 +2,28 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
First, run the development server:
|
First, ensure you have a compatible version of node and npm to avoid issues:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
node --version
|
||||||
|
# v14.17.6
|
||||||
|
|
||||||
|
npm --version
|
||||||
|
# 9.1.3
|
||||||
|
|
||||||
|
# or
|
||||||
|
yarn --version
|
||||||
|
# 1.22.19
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, install dependencies:
|
||||||
|
```bash
|
||||||
|
npm i
|
||||||
|
# or
|
||||||
|
yarn install
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, run the development server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run dev
|
npm run dev
|
||||||
|
3
package-lock.json
generated
3
package-lock.json
generated
@ -43,6 +43,9 @@
|
|||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.1",
|
||||||
"pretty-quick": "^3.1.0",
|
"pretty-quick": "^3.1.0",
|
||||||
"tailwindcss": "^3.0.24"
|
"tailwindcss": "^3.0.24"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.17.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@babel/runtime": {
|
"node_modules/@babel/runtime": {
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
"name": "developers.urbit.org",
|
"name": "developers.urbit.org",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.17.6"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npm run prebuild && next dev",
|
"dev": "npm run prebuild && next dev",
|
||||||
"prebuild": "npm run cache-posts && npm run glossary && npm run guide && npm run overview && npm run reference",
|
"prebuild": "npm run cache-posts && npm run glossary && npm run guide && npm run overview && npm run reference",
|
||||||
|
Loading…
Reference in New Issue
Block a user