-
Notifications
You must be signed in to change notification settings - Fork 156
Failed to activate extension after updating vscode to v1.40.0 #1621
Comments
Distributor ID: Ubuntu |
node v10.16.3 |
Hi @mani-ghasemi, The extension seemed to activate fine on my Mac with the latest VS Code version. I'm going to see if I can recreate this on an Ubuntu 19.10 virtual machine. Thanks, |
Same problem here Distribution: Debian Buster It seems there are several errors:
WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.23.3/electron-v6.1-linux-x64-glibc.tar.gz
[11/11/2019 14:31:45] [INFO] ../deps/grpc/third_party/boringssl/crypto/bio/connect.c:491:29: error: cast between incompatible function types from ‘bio_info_cb’ {aka ‘long int (*)(struct bio_st *, int, const char , int, long int, long int)’} to ‘int ()(const struct bio_st , int, int)’ [-Werror=cast-function-type] Full Log: [11/11/2019 14:27:50] [INFO] Starting IBM Blockchain Platform Extension
|
Hello,
It looks like your compiler is having some problems as well. I've created a PR on the A workaround might be to downgrade your version of VS Code back to the previous version until these binaries are sorted. Thanks, |
@Jakeeyturner The cause here is that ubuntu 19.10 uses gcc 9. It looks like grpc 1.23.3 for node won't compile on versions of gcc greater than 7. It's possible grpc for node have addressed this in later versions by changing what compilation problems will cause the compile process to stop. Ubuntu 18.04 for example is still using gcc 7 so would not have had this problem. |
I had the exact same issue on my Mac, line for line the same problem (and scoured the depths of the internet for a solution). This fixed it for me, which was essentially I was using an outdated version of node-gyp, forcing npm's hand to update it solved the problem: |
A workaround for the time being is to install the previous version of VS Code (1.39.2), which can be downloaded here - https://code.visualstudio.com/updates/v1_39 |
Blocked waiting for grpc 1.25.0 to be published |
Updating the Node module gyp worked for me. |
Failed to activate extension: Failed to execute command "npm" with arguments "rebuild, grpc, --target=6.1.5, --runtime=electron, --update-binary, --fallback-to-build, --target_arch=x64, --dist-url=https://atom.io/download/electron" return code 1 |
Hi we are still waiting for grpc to release. I just checked and the latest release is still 1.24.2. |
is there an alternative way to compile on Linux? I have tried to pull source code and compile it manually but without a success. |
The issue is there is no prebuild version of grpc module for node sdk.And the latest grpc module is unable to compile. |
It works for me #1621 (comment) |
Happening for me as of today on a fully updated Arch linux,
Will watch thread. Ty for any help. (can confirm downgrade works for me, obviously non-ideal) |
@d3cline Same for me on Mac |
I'm having the same issue on a Mac. |
Even I had faced this same Issue on a windows though'. @jakub-pomykala @d3cline @rayest
|
Windows 10 Pro ver 2004 19041.508 [9/11/2020 6:22:33 PM] [IMPORTANT] Log files can be found by running the [9/11/2020 6:22:33 PM] [INFO] Starting IBM Blockchain Platform Extension
|
I'm just starting to learn coding and Blockchain after coming from a telecommunications & IT background. This is all new to me. I tried to install all the required dependencies that Visual Studio Code requires, and it looked like it was successful. I am currently just getting started on "IBM Blockchain Foundation Developer V2" on Cognitive Class and am working on installing the necessary software. I'm running a core i3 7100U processor at 2.4GHz with 16GB RAM. |
Interesting. Installing Python, C/C++, C#, & ESLint extensions and all underlying software requirements in VS Code LOOKS like it may have fixed the IBM Blockchain VS Code extension in VS Code 1.49 . I am attempting to proceed in Cognitive Courses "IBMDeveloperSkillsNetwork+BC0201EN+v2" in order to verify functionality. |
Download & install VS Code extensions from here: |
Downgrade your VS to 1.3.9V |
Possible workaround. I'm using vscode
I also had the same above errors. I downgraded to vscode |
Thanks MilesConn, this worked - great help! |
Got it to work on Steps I followed
Note: I tried this process before with node v10.22.0 and v12.20.0 with no success. I am not sure there is any connection with the versioning, but v10.23.0 seems to be the lucky one 😃 Hope this can help |
Hello, |
Hello, |
This error occurs with VS Code installed from Snap. It goes away if VS Code is installed from the .deb file in the VS Code download site. |
Closing issue - v2.0.0 of the extension no longer requires gRPC to be rebuilt. |
VS code notified "Failed to activate extension" after updating to version 1.40.0
Failed to activate extension: Failed to load /home/mani/.vscode/extensions/ibmblockchain.ibm-blockchain-platform-1.0.15/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-x64-glibc/grpc_node.node. Cannot find module '/home/mani/.vscode/extensions/ibmblockchain.ibm-blockchain-platform-1.0.15/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-x64-glibc/grpc_node.node'
Require stack:
The text was updated successfully, but these errors were encountered: