Summary
You may have some ReactJS project code written with babel version 6. You will need to upgrade them into version 7. Here in the session, I will introduce a working approach for upgrade, in case of some errors like the following:
You may have some ReactJS project code written with babel version 6. You will need to upgrade them into version 7. Here in the session, I will introduce a working approach for upgrade, in case of some errors like the following:
When you search for Jenkins Plugins, it is not very user friendly to get the link between Jenkins Plugin name and WIKI page.
There is a JSON file from jenkins update center. But it is in the JSON format and very difficult to search and find the corresponding plugins.
Here in this article, I create a HTML table from the JSON. This table is directly sync with offical Jenkins Update Centre. I will explain the code details later.
Now you can happily search from the table bellow. Continue reading
Web3.js is a widely JS library which enables HTTP or IPC connection to the blockchain network. You can install it using NPM.
But you may encountered the following error when you have multiple python version installed on your machine, especially for those who actively using Python virtual environments.
"gyp ERR! configure error gyp ERR! stack Error: Python executable "/usr/local/bin/python" is v3.6.4, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0."
In order to fix the error, you have to find out the path where you python2 is located. In my case, I found mine in the following path.
$ /usr/bin/python --version Python 2.7.10
Then just config NPM to use the specific python version mentioned above.
$ npm config set python /usr/bin/python
BOOM! The web3.js now is installed without any issue.
$ npm install web3