更新
This commit is contained in:
parent
89716bfdd1
commit
5275e8cd46
11
_posts/前端/npm-serror.md
Normal file
11
_posts/前端/npm-serror.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: npm出现error:0308010C:digital envelope routines::unsupported 错误解决
|
||||
date: 2022-10-15
|
||||
tags: npm|node
|
||||
---
|
||||
|
||||
搜索一下可能与node的版本有关,目前可以确认node17以下没啥问题,node18以上需要执行如下命令:
|
||||
|
||||
```
|
||||
export NODE_OPTIONS=--openssl-legacy-provider
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user