dbgate
dbgate copied to clipboard
Cannot run plugin tutorial, error in dependency
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
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.