Code Monkey home page Code Monkey logo

Comments (12)

cedriking avatar cedriking commented on August 23, 2024 1

Hello @ries9112 .
We have contacted the redstone team to find out what is going on.
Thanks for pointing this issue out.

Best,
Cedrik.

from arkb.

cedriking avatar cedriking commented on August 23, 2024 1

Hey @ries9112 👋🏼
stream/promises is only available on version 15 and up of NodeJS.

from arkb.

cedriking avatar cedriking commented on August 23, 2024 1

I was able to find the issue, the error was related to a single file deploy and one of the latest changes I did. Sorry about that!

Version 1.1.17 has this bug fixed 🙌🏼

from arkb.

cedriking avatar cedriking commented on August 23, 2024

Hello @ries9112 , we have removed the redstone-api module which was causing this issue.

Can you please try now with the latest version? During this update we have removed the @textury scope. So to get the latest version you can simply do arkb without the scope.

Best,
Cedrik

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

Thank you for the follow-up!

I ran my workflow running npm install -g arkb, but ran into a similar issue of MODULE_NOT_FOUND:
image

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

Thanks a lot, and sorry about that!

I can confirm that worked, but yet another issue came up when I ran the code again:
image

Sorry if I missed something else, a lot I'm still learning 🙂

from arkb.

cedriking avatar cedriking commented on August 23, 2024

Hey @ries9112 , I haven't been able to reproduce, but I had this issue on an older version, I'm wondering if you're using the latest arkb. Can you please tell me what version of node -v are you using and also from arkb -v.

Thanks

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

@cedriking thank you for the follow-up! I think before I was on 15.14.0 when specifying to use version 15.

Now I'm not specifying any version and this is what my GitHub Actions workflow looks like:

name: Automated Backups Cryptovoxels
on: 
  schedule:
    - cron: '0 10 * * *'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
      - name: npm install
        run: |
          npm install -g arkb
      - name: Run Backups
        run: |
          node -v ; 
          arkb -v ;
          echo "Downloading map info..." ;
          curl -s 'https://www.cryptovoxels.com/api/parcels.json' > CryptoVoxelsArchive/parcels.json ;
          curl -s 'https://www.cryptovoxels.com/api/suburbs.json' > CryptoVoxelsArchive/suburbs.json ;
          curl -s 'https://www.cryptovoxels.com/api/islands.json' > CryptoVoxelsArchive/islands.json ;
          cat CryptoVoxelsArchive/parcels.json | jq '.parcels | .[] | .id' | while read id ;
          do 
            echo "Downloading land parcel info $id..."
            curl -s "https://www.cryptovoxels.com/grid/parcels/$id" > CryptoVoxelsArchive/parcels/$id.json
          done
          echo "Creating zip." ;
          zip -r -q CryptoVoxels-latest-archive.zip CryptoVoxelsArchive ;
          echo "Deploying archive to Arweave." ;
          arkb deploy CryptoVoxels-latest-archive.zip --auto-confirm --wallet arweave-keyfile-f7QsdAM6sBC0UsUp1JoEXT93yMbCAPQIo1uBLhjDGSE.json --tag.Tag-Name=CryptoVoxelsArchive ;

I added the node -v and arkb -v commands. Looks like I'm on node v14.17.5, but it doesn't show me the version for arkb and throws an error:

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

I just tried running it locally on my M1 macbook air and I ran into one of the issue shown previously on GitHub actions:
image

I'm on v16.8.0 for node and v1.1.16 for arkb

from arkb.

cedriking avatar cedriking commented on August 23, 2024

Ah this is in a repo using github actions! Can I please see that repo, I will be able to reproduce the issue quickly and see what's going on, thanks to just running that source.

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

I made a new public repo here: https://github.com/ries9112/arkb_install_troubleshooting

This is the same as the one I'm using privately, with the exception of the arweave-keyfile. The issue however happens on the arkb deploy CryptoVoxels-latest-archive.zip --auto-confirm --wallet arweave-keyfile-[key-here].json --tag.Tag-Name=CryptoVoxelsArchive command, which you can't reproduce because I excluded the arweave-keyfile.

The workflow up to that last command works fine, see this run for example: https://github.com/ries9112/arkb_install_troubleshooting/runs/3450479051?check_suite_focus=true

Just ran my private repo with the arkb deploy command, and got the same error that I commented about 12h ago that I'm also getting on my M1 macbook:
image

Thanks for taking a look!

from arkb.

ries9112 avatar ries9112 commented on August 23, 2024

Thank you! The automated script is back to working now without issues 🙂 thanks for looking into it!

from arkb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.