microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.47k stars 239 forks source link

ERROR: No loader is configured for ".node" files: node_modules/node-pty/build/Release/pty.node #654

Open 2687545691 opened 9 months ago

2687545691 commented 9 months ago

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?

qarlosalberto commented 1 day ago

Same here.