dbgate icon indicating copy to clipboard operation
dbgate copied to clipboard

Cannot run plugin tutorial, error in dependency

Open Allam76 opened this issue 1 year ago • 1 comments

Describe the bug ERROR in frontend.js from Terser error:0308010C:digital envelope routines::unsupported

When following the plugin development guide above error occurs. It happens in the terser-webpack-plugin npm package.

Possible solution here

To Reproduce Follow the plugin development guide guide. Does not matter if yarn or npm. Run yo dbgate Run yarn plugin

Expected behavior Plugin to launch.

Version Information (please complete the following information): Node: v20.1.0 Npm: 9.6.4 Yarn: 1.22.19

Allam76 avatar May 17 '24 09:05 Allam76

It's likely because node v20 is too new for some dependency. I recommend using LTS 18 which is still actively maintained until April 30th 2025.

ProjectInfinity avatar May 31 '24 19:05 ProjectInfinity