Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nocobase
Commits
9a64384b
Commit
9a64384b
authored
3 years ago
by
chenos
Browse files
Options
Download
Email Patches
Plain Diff
fix: error message "error:0308010C:digital envelope routines::unsupported"
parent
d6cb039d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/core/cli/bin/index.js
+4
-0
packages/core/cli/bin/index.js
with
4 additions
and
0 deletions
+4
-0
packages/core/cli/bin/index.js
+
4
-
0
View file @
9a64384b
...
...
@@ -15,6 +15,10 @@ const env = {
LOCAL_STORAGE_DEST
:
'
storage/uploads
'
,
};
if
(
'
v18
'
===
process
.
version
.
split
(
'
.
'
).
shift
())
{
process
.
env
.
NODE_OPTIONS
=
'
--openssl-legacy-provider
'
;
}
dotenv
.
config
({
path
:
resolve
(
process
.
cwd
(),
process
.
env
.
APP_ENV_PATH
||
'
.env
'
),
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment