Closed john-deng closed 3 years ago
@john-deng What version of Dapr is installed? What's the result of running dapr --version
in a terminal window (outside of VS Code)? What's the result of running the command in a terminal window inside of VS Code? (Sometimes we see weird PATH
issues on Mac that prevent the extension from finding the Dapr binaries.)
@philliphoff Here is dapr info in terminal (inside and outside of vscode are the same, both use zsh with ohmyzsh theme)
dapr --version
CLI version: edge
Runtime version: 1.1.2
Ok, I see the problem; we're trying to parse the CLI version and not recognizing edge
as a valid version number. (Is this a locally-built version of the CLI?) I don't know why I did that originally, but I can't think of a reason today why we should be that strict. In any case, I'll designate this as a bug! As a workaround, try using a released/RC version of Dapr (which I suppose isn't really a workaround, but it's the best I have at the moment).
@philliphoff yes, the cli is built by myself.
@john-deng Another workaround, now that I'm thinking about it, would be to modify your local build to generate a semver-compatible version number.
@philliphoff Great, when will this workaround be available? however, even I downloaded the official binary relase v1.2.0, it still shows that 'No Dapr application are running', here is the screenshot,
Do you see the same thing if you start Dapr using a VS Code daprd
task? If not, you might be seeing #169, in which VS Code may not see dapr
CLI started sidecars.
Issue Type: Bug
Everything works in the command line, but the vsocde extension show the error message "The Dapr CLI and runtime do not appear to be installed "
Extension version: 0.4.0 VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z) OS version: Darwin x64 19.6.0
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |GPU Status|2d_canvas: enabledgpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.09GB free)| |Process Argv|. --crash-reporter-id 109d37ad-8415-4725-be41-0fa7dc3fd14d| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551:30291414 vspre833:30267464 pythonptprofiler:30281270 vshan820:30294714 pythondataviewer:30285071 vscus158:30286553 vscgsv2ct:30307505 vscorehov:30302759 bridgeflight:30302069 vscod805cf:30301675 ```