Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run plugin tutorial, error in dependency #783

Open
Allam76 opened this issue May 17, 2024 · 1 comment
Open

Cannot run plugin tutorial, error in dependency #783

Allam76 opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Allam76
Copy link

Allam76 commented May 17, 2024

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

@janproch janproch added the bug Something isn't working label May 27, 2024
@ProjectInfinity
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants