fix: add NODE_OPTIONS=--openssl-legacy-provider to dev script target

This commit is contained in:
Michael Zetterberg
2025-04-25 16:55:15 +02:00
parent e5afdb3986
commit 515ae05528

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"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:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
"start": "node .next/standalone/server.js",