-
Notifications
You must be signed in to change notification settings - Fork 231
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
Error: Cannot find module '..\build\Debug\pty.node' #360
Comments
You can try install a beta to see what the issue is, a better error message should appear then. Note that node-pty is a native node module which are complex to ship within vscode extensions though, you will need to either ship the native binaries for all platforms with the extension or dynamically download them. |
I tried 0.9.0-beta19, but the results were the same. In the vscode plug-in, I simply introduced the node-pty module and then called spawn and it went wrong. I don't know if it is related to the plug-in running environment. Could you please help me |
This is another problem with native node modules in VS Code extensions, you shouldn't use node-pty there as it would be a maintenance nightmare and your extension would break whenever we update Electron |
Environment details
Issue description
develop the VSCODE plug-in,want to use node-pty to implement a function.
The text was updated successfully, but these errors were encountered: