Skip to content

Error: Error: spawn EACCES #61715

@siginterrupt

Description

@siginterrupt

Issue Type: Bug

Receiving "Error: Error: spawn EACCES" while trying to use VS Code editing Golang programs using the Go Extension. "go fmt" is not running nor is autocomplete for dependencies. This same issue is happening on my Mac as well; I can send that info also if you would like. When I run VSCode with elevated privileges ("sudo code") everything works fine. Thanks for any help you can provide. Awesome editor!

Correction: VS Code is failing with the same error when running with elevated privileges. I believe this is a golang extension not VS Code because when I set my go paths when root user, VS Code fails with same error

VS Code version: Code 1.28.2 (7f3ce96, 2018-10-17T00:20:56.183Z)
OS version: Linux x64 4.15.0-36-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 1687)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: unavailable_software
video_encode: unavailable_software
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 15.56GB (4.12GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
flutter-snippets ale 0.0.2
dart-code Dar 2.19.0
flutter Dar 2.19.0
Go ms- 0.6.93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions