Condenser: Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.0".

in #condenser-ptbr2 years ago

git clone https://gitlab.syncad.com/hive/condenser cd condenser mkdir tmp

Ao usa yarn add babel-cli estava dando esse erro:

Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.0".

Resolvi o problema usando:

yarn add @babel/cli @babel/core @babel/node @babel/preset-env -D yarn install --frozen-lockfile --ignore-optional yarn run build

Ou foi alguma solução daqui

Sort:  

Congratulations @sm-silva! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day!
Wait until the end of Power Up Day to find out the size of your Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Do not miss the last post from @hivebuzz:

Happy New Year - Project Activity Update
First Hive Power Up Day of 2021 - Get a Hive Power delegation

Congratulations @sm-silva! You received a personal badge!

You powered-up at least 100 HP on Hive Power Up Day! This entitles you to a level 3 badge
Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Do not miss the last post from @hivebuzz:

Happy New Year - Project Activity Update
First Hive Power Up Day of 2021 - Get a Hive Power delegation

Corrigindo o 'Error: Malformed UTF-8 data' ao decriptografar usando o CryptoJS e verificando se a senha da criptografia está certa ou errada.

function decrypt(message = "", key = "") {
    var code = CryptoJS.AES.decrypt(message, key);
    let decryptedMessage;
    try {
        decryptedMessage = code.toString(CryptoJS.enc.Utf8);
        }
    catch (e) {
        decryptedMessage = "Wrong password";
       }
    return decryptedMessage;
}

Indice de Posts