Unable to forward localhost:3000. spawn

Im encountering an issue while trying to forward localhost:3000, but keep getting the error ‘spawn c:\Users\lenovo\AppData\Local\Programs\cursor\bin\code-tunnel.exe ENOENT’. Has anyone else faced a similar problem? How can I resolve it?

4 Likes

Still looking for a solution to this issue

1 Like

The problem remains in the latest build

Here’s a workaround I’ve found:

  • install vscode
  • go to vscode’s folder (on OSX it’s /Applications/Visual Studio Code.app/Contents/Resources/app/bin)
  • copy code-tunnel binary to cursor’s folder (/Applications/Cursor.app/Contents/Resources/app/bin)
5 Likes

thanks! worked great

1 Like

Is there a solution to this problem on Ubuntu?

2 Likes

does this allow us to use local models within cursor?

so far only some somehow shady projects like Gaia Net and Ngrok work with a url which is exposed to the web

maybe Cloudflare could also work hmm

Very good! Saved my day at work! :kissing_heart:

1 Like

The solution that worked for @topcat on OSX doesn’t work on Ubuntu.

Please be aware of the caveat of the current workaround: I'm unable to forward a port - #6 by Corey3D

Be aware tho’, closing the port from Cursor does not stop the process and the forwarding stays active, you have to manually stop code-tunnel.exe eg. from task manager.