Skip to content

Commit 2bd7cda

Browse files
committed
⚙️ Fixing app build: locally work with node>16
1 parent 1fd05f3 commit 2bd7cda

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

stubs/dashboard/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"dev": "nuxt",
7-
"build": "nuxt build",
8-
"start": "nuxt start",
9-
"generate": "nuxt generate",
6+
"dev": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt",
7+
"build": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt build",
8+
"start": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt start",
9+
"generate": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt generate",
1010
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
1111
"lint": "npm run lint:js",
1212
"lintfix": "npm run lint:js -- --fix"
@@ -31,4 +31,4 @@
3131
"eslint-plugin-nuxt": "^4.0.0",
3232
"eslint-plugin-vue": "^9.5.1"
3333
}
34-
}
34+
}

0 commit comments

Comments
 (0)