Comments (12)
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.
Hey @ries9112 👋🏼
stream/promises
is only available on version 15 and up of NodeJS.
from arkb.
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.
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.
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
:
from arkb.
Thanks a lot, and sorry about that!
I can confirm that worked, but yet another issue came up when I ran the code again:
Sorry if I missed something else, a lot I'm still learning 🙂
from arkb.
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.
@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.
I just tried running it locally on my M1 macbook air and I ran into one of the issue shown previously on GitHub actions:
I'm on v16.8.0 for node and v1.1.16 for arkb
from arkb.
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.
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:
Thanks for taking a look!
from arkb.
Thank you! The automated script is back to working now without issues 🙂 thanks for looking into it!
from arkb.
Related Issues (20)
- Bundlr Fees HOT 1
- Cached Bundlr Txs HOT 6
- Concurrent use? HOT 3
- adding tags to arkb deploy HOT 3
- manifest URL points to uploaded file HOT 5
- problem with arweave dep that's 1.11.4 (and potentially 1.11.1 - 1.11.4) HOT 5
- No matching version found for arbundles@^0.6.19 HOT 1
- Example for `--wallet ` option HOT 17
- Guidance - Few files fail to upload when handling with large amount of data HOT 2
- Differences between Arkb and Bundlr HOT 1
- need some help "Not Found" HOT 2
- Why did you decide to get rid of --ipfs-publish? HOT 1
- Ability to specify custom content type during uploads HOT 3
- Cache data uploaded elsewhere HOT 3
- Static website deployed with arkb doesn't work HOT 3
- arkb API
- Failed to upload file: Cannot read properties of undefined (reading 'toArray')
- Does arkb resume uploads when it fails for the first time?
- Fails using https://ar-io.net/ as gateway with bundler
- Needs upgrade to new arbundles + arweave libraries.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arkb.