-
Notifications
You must be signed in to change notification settings - Fork 157
Failed to activate #1124
Comments
Where there any more errors in the log from the output of running that command? |
I get the error Basically, it is not able to find v69 for node, What I have is v67. How do I solve this? |
What happens if you close and open vscode?
…On Fri, 5 Jul 2019 at 17:36, Jatin Rungta ***@***.***> wrote:
I get the error
rror requiring dependency: The gRPC binary module was not installed. This
may be fixed by running "npm rebuild"
Original error: Cannot find module
'/home/urdarinda/.vscode/extensions/ibmblockchain.ibm-blockchain-platform-1.0.4/node_modules/grpc/src/node/extension_binary/node-v69-linux-x64-glibc/grpc_node.node'
Basically, it is not able to find v69 for node, What I have is v67. How do
I solve this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1124?email_source=notifications&email_token=AFP2AMPFDSRQR24S5WMECE3P55Z7VA5CNFSM4H6AHHRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJ5QKQ#issuecomment-508811306>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFP2AMPLSJKGVNPFLT62TODP55Z7VANCNFSM4H6AHHRA>
.
|
Same thing happens. Is this because of my compiler? I have gcc 8 and it seems that grpc 1.17 has some issues with that and only on grpc 1.20+ it became compatible with gcc8. I have yet to find a workaround for buillding it on gcc8 |
We are in the process of updating the version of grpc, we should hopefully
be doing a release soon with it in
…On Sat, 6 Jul 2019 at 01:08, Jatin Rungta ***@***.***> wrote:
What happens if you close and open vscode?
… <#m_5967040862666186987_>
On Fri, 5 Jul 2019 at 17:36, Jatin Rungta *@*.***> wrote: I get the error
rror requiring dependency: The gRPC binary module was not installed. This
may be fixed by running "npm rebuild" Original error: Cannot find module
'/home/urdarinda/.vscode/extensions/ibmblockchain.ibm-blockchain-platform-1.0.4/node_modules/grpc/src/node/extension_binary/node-v69-linux-x64-glibc/grpc_node.node'
Basically, it is not able to find v69 for node, What I have is v67. How do
I solve this? — You are receiving this because you commented. Reply to this
email directly, view it on GitHub <#1124
<#1124>?email_source=notifications&email_token=AFP2AMPFDSRQR24S5WMECE3P55Z7VA5CNFSM4H6AHHRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJ5QKQ#issuecomment-508811306>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFP2AMPLSJKGVNPFLT62TODP55Z7VANCNFSM4H6AHHRA
.
Same thing happens. Is this because of my compiler? I have gcc 8 and it
seems that grpc 1.17 has some issues with that and only on grpc 1.20+ it
became compatible with gcc8. I have yet to find a workaround for buillding
it on gcc8
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1124?email_source=notifications&email_token=AFP2AMNA6FHODDGBVCPUGLDP57PBFA5CNFSM4H6AHHRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZKO5LI#issuecomment-508882605>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFP2AMOC6UZO2ULQURBLMTLP57PBFANCNFSM4H6AHHRA>
.
|
this is now fixed in version 1.0.5 so closing |
I am still getting it:
I installed npm 8, 10 and 12. You are requesting v69, and I have v57, v64 and v72. By the way, I am using Ubuntu 19. I could fix it by changing the dependency in the plugin's |
The issue still remains. I'm using macOS Mojave and
|
Hi @InSuperposition it looks like the extension can't find npm. From the terminal inside vscode what happens if you run |
Thanks for the quick response, the output for |
I think the problem is to do with using |
The |
does this mean the problem is fixed? |
Yes. Thanks for your help, its much appreciated. It may be helpful for other users of |
How did you set the default version? |
Hi @cazfletch I think I have similar issue. I'm on Ubuntu 18.04 I have VS Code: with IBM Blockchain Platform 1.0.17 extension Node and NPM installed using NVM. I've set the default node to to 10.12.0 using I've also tried with different Node and NPM versions starting from v8 to the latest version, it didn't work and the error remains the same. But the extension still can't get activated with error: `[1/10/2020 3:12:35 PM] [INFO] Starting IBM Blockchain Platform Extension
What should I do to get the extension activated? |
What is your path variable set to? |
@cazfletch thankis for quick reply!
|
We have seen this problem before where the path all looks ok but to do |
@cazfletch Great to hear that! So what is it you suggest I should do to get the extension activated? Or is there no way to do so at the moment? |
I tihnk others that have seen the issue, get it working with a combination of closing and reopening vscode and restarting their machine |
@cazfletch Okay, I hope the combination will work eventually, thank you |
The issue is there is no prebuild version of grpc module for node sdk.And the latest grpc module is unable to compile. |
I'm getting thesame error Failed to activate extension: Failed to execute command "npm" with arguments "rebuild, grpc, --target=7.1.11, --runtime=electron, --update-binary, --fallback-to-build, --target_arch=x64, --dist-url=https://atom.io/download/electron" return code 1 node -v |
hei @TheDhejavu, I got it working by downgrading vs-code to 1.41. |
I did that but still got the same error. I will try version 1.41. Thanks |
If you update to the latest version of the extension and the latest version of vscode it should fix the problem that @TheDhejavu is seeing with rebuilding not working |
Installing the extension means installing the latest version right because I just did that like 4 times. I was using the latest version and just reinstalled the extension when I got this error. I will try everything over again. |
yes version 1.0.24 of the extension and version 1.43 of vscode |
if that doesn't work can you send the output log rather than just the error please |
[3/26/2020 8:16:17 PM] [IMPORTANT] Log files can be found by running the [3/26/2020 8:16:17 PM] [INFO] Starting IBM Blockchain Platform Extension
|
@cazfletch [3/26/2020 8:50:35 PM] [INFO] Attempting to require dependency: grpc |
The problem is
|
@cazfletch , oh, how do i fix that |
looks like you need to install visual studio |
I actually have a vsocde installed on my system |
hi @cazfletch downgrading my Vscode to version 3.9 fix the problem which in turn caused another major issue for other dependencies like Azure on my vscode 😕 |
If you uninstall the other extensions and reinstall them it should install versions of them compatible with vscode 1.39 |
Thanks @cazfletch |
How did you downgrade VSCode version? |
https://code.visualstudio.com/updates/v1_39 You can install other versions by selecting the date & click the download link. |
Issue Type: Bug
From Gui Search for Extension
IBM Blockchain Platform
Error appears at end of installation
Failed to activate extension: Failed to execute command "npm" with arguments "rebuild, grpc, --target=4.2.5, --runtime=electron, --dist-url=https://atom.io/download/electron, --update-binary, --fallback-to-build, --target_arch=x64" return code 243
Extension version: 1.0.4
VS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:20:56.241Z)
OS version: Linux x64 4.18.0-25-generic snap
System Info
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
The text was updated successfully, but these errors were encountered: