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

Plugin is not working with Electron App #132

Closed
sadashivm opened this issue Feb 3, 2021 · 1 comment
Closed

Plugin is not working with Electron App #132

sadashivm opened this issue Feb 3, 2021 · 1 comment

Comments

@sadashivm
Copy link

Hello, I'm using this npm package with an electron app with React JS. I'm getting the below error.

image

Here is the my code,
image

Can you please tell me the reason why it is not working?
Have I missed anything?

@sindresorhus
Copy link
Owner

del is a Node.js module. You're using it in the renderer. It should be used in the Electron main process. I suggest asking Electron questions on the Electron support forums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants