Solve the error: Error:digital envelope routines::unsupported

antDesignPro version: 5.2.0

Package management tool: pnpm

When the local pnpm dev (the node version used is 18, 18.15.0) runs the AntDesignPro background project, the console reports an error, and the screenshot is as follows.

Solution : The node version used is too high . Just downgrade and use the node16 version (such as: 16.16.0) to run the project.

Error screenshot

Guess you like

Origin blog.csdn.net/qq_38969618/article/details/133140375