fix: add NODE_OPTIONS=--openssl-legacy-provider to dev script target
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn clean && next build",
|
"build": "yarn clean && next build",
|
||||||
"dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
|
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
|
||||||
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
|
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
|
||||||
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
|
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
|
||||||
"start": "node .next/standalone/server.js",
|
"start": "node .next/standalone/server.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user