Mine is an electron+vite+ts+react project, and after integrating the node-pty module and configuring it according to the readme document, the project gets an error “ERROR: No loader is configured for ".node" files: node_modules/node-pty/build/Release/pty.node”.
Environment details
Issue description
Mine is an electron+vite+ts+react project, and after integrating the node-pty module and configuring it according to the readme document, the project gets an error “ERROR: No loader is configured for ".node" files: node_modules/node-pty/build/Release/pty.node”.
How to solve this mistake?