arweave-deploy's People
Forkers
niinpatel rasarab aidanok carlcortright pinkgoatcheese alexreyes ltlmaps aluisyo imerkle cedriking touhonoob khoi1493 mikedeshazer twitch0125 crystalpony developerfred tfine cromatikap spheronfdn tukudev lh123-maker pal9000i rectinajh richerd ljoez padila50 michaelbyt3s technology-xyz theleaks lostfm95 blokzinciri deedeedig menftease cyberflamego forestnode stpinkie blockchain-solana othersouarweave-deploy's Issues
Getting URL without uploading
Hi,
Is there a way to get hash of files in a directory, but not upload them yet?
I want to add Arweave to my app, but need something similar to IPFS's ipfs add -w -r -n <folder>
.
PWA manifests are not inlined correctly.
PWA manifests like:
<link rel="manifest" href="./site.webmanifest">
are not inline correctly, it produces an empty <style></style>
element.
I have a standalone ts script to do this, just hacked together quickly:
run with npx ts-node inline-manifest.ts ./my/site.webmanifest ./my/index.html
It will insert the inlined site.webmanifest directly after the closing </title> tag in index.html.
I do this after running arweave package
but before arweave deploy
There are other types of 'rel=XXX' which silently fail too, 'apple-touch-icon' is one, from https://realfavicongenerator.net/ . Leaving this issue to deal with PWA manifests only.
EDITS: updated with cleaned up version of the standalone script.
deploy --package with fonts
It isn't clear in the docs whether or not packaged deployments support inlining custom fonts. Is this supported?
The answer should be added to the docs too ๐.
Deprecation warnings on command
I get the following warnings when running commands:
(node:21334) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:21334) [DEP0011] DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead.
2MB limit
Due to the lack of gzipping here, it's quite easy for a modern web-app to exceed 2mb, especially if you have any images. Is there any way around this outside of CDNing your assets and loading it that way?
100 file limit workaround
Hello, I am wondering if there's a way to get around the 100 file limit.
I see issue #24 was about this and was closed with the following explanation:
arweave package
seems to help with this.
However I'm unclear on how to get it working in my case. I'm deploying a serverless Python application, and have ~200 total files across multiple folders. I'm not really sure how to use arweave package
.
Could someone please help? Why does there need to be a file limit in place?
Any workaround for 100 file limit?
Projects with many image assets and code splitting easily exceed this limit.
Is there any workaround for this, such as doing multiple deploys and linking across them?
--ipfs-publish does not produce correct CID for some files
--ipfs-publish flag produces different CIDs than the ipfs add
command for files above the default IPFS chunk size (256KiB)
Workaround:
ipfs add -n --offline myfile.png
Will give you a CID
arweave deploy --tag "IPFS-Add:CID" myfile.png
Will publish the file on Arweave with the correct CID.
You can also use https://perma-pin.bloc.space to upload new files to Arweave + IPFS.
`deploy-dir` on windows does not work with absolute paths
If you are in the folder: C:\MyCurrentFolder\
arweave deploy-dir C:\Foobar\Folder
will result in deploy-dir looking for files in:
C:\MyCurrentFolder\C:\Foobar\Folder
Workaround is just cd
into the parent folder of your project and deploy using a relative path, ie:
cd c:\Foobar
arweave deploy-dir Folder
Deploying a file without any external links causes a TypeError
Save a file called index.html
that's not using any external CSS files.
<!--index.html-->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
Now call arweave deploy index.html --package
.
You get an error, TypeError: Reduce of empty array with no initial value
.
arweave --version is 1.9.1
`arweave deploy .` gives confusing output
Thinking that arweave deploy .
would deploy a directory of files, I ran it. This produced the error message
Detected content type: application/octet-stream
BETA NOTICE: text/* content types are currently supported, more content types will be supported in future releases.
So I hunted down any file that might be non-text, and removed them. Then, once the error persisted, I added a log to the CLI tool to figure out which file is triggering the message and it wasโฆ .
. The mime-type generation / glob pattern was treating .
as input rather than 'this directory'.
Similarly, running a command like arweave deploy ./**/*.html
takes only one of the files (the first one, afaict).
Ideally, either globs are supported, or the behavior around inputs that users would reasonably expect are globbed would be correct and clear.
Document usage of --host <hostname_or_ip>
I couldn't find any documentation around this CLI option
Incorrect data limit
Hello, it seems that the data limit is much lower than the 10 MB. I tried to upload ~2 MB video to the network with command:
honza@honza-MS-7823:~$ arweave deploy '/home/honza/Coding/video-presence-tracker/video_out/output.mp4' --key-file '/home/honza/Downloads/arweave-keyfile-325zf8JIBC96nPoINPMbu8IJk-_vVC2ZNT2lIRpoNFs.json'
and got the following output:
Detected byte size: 2.13 MB Data uploads are currently limited to 10MB per transaction.
Lifting 35 MB Limit on delpoy-dir
Is it possible to remove the 35 MB limit on deploy-dir?
arweave-deploy/src/commands/deploy-dir.ts
Lines 128 to 130 in 71c99a7
TX Status - TX ID starting with a hyphen causes unexpected results
Cache last upload ID
Cache the last upload ID in app storage so that the arweave status
command can be used with the transaction ID omitted.
Add ability to tag deployments
It would be very powerful to be able to tag deployments made through the CLI. I need the ability to tag app deployments to query for them using GQL and prompt/redirect users to the latest version of the app on Arweave.
Not sure of how the syntax could look like. Maybe like the below:
arweave deploy-dir path-to/directory/to-deploy --add-tag=App-Name=GENERIC_APP
DeprecationWarning crypto.ERROR
When I use arweave {COMMAND} the response from the CLI is
(node:28148) [DEP0091] DeprecationWarning: crypto.DEFAULT_ENCODING is deprecated.
(node:28148) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:28148) [DEP0011] DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead.
And then CLI Command response.
I am concerned as I have not seen any reports online of this, can anyone troubleshoot the error or provide insight?
Add support for ES6 feature: Optional chaining (.?)
optional chaining .?
is a recent ES6 feature. When i try to deploy a HTML file i get the following error Unexpected token: punc (.)
The error result is the inability to read .js file. It worked properly after removing the optional chaining operator.
i know that babel exist, but adding support for more ES6 features is helpful. Thank you
deploy-dir returns Errors on empty files in folder
Actual Behavior: deploy-dir returns Cannot read property 'padEnd' of undefined
when there are empty files present in the directory and the deploy fails
Expected Behavior: deploy-dir silently ignores empty files or show meaningful error pointing to the file with the issue.
Log Output
./dist/arweave deploy-dir ~/dgit/dist/ --key-file ~/arweave-keyfile.json
Preparing files from ~/dgit/dist
ID Size Fee Type Path
bZWRICUU3BF36yzUa1JLk4iD6KW3uszh_TenBYrv_s4 33.12 kB 0.000011764722 application/vnd.ms-fontobject la-regular-400.eot
nKX1sJ3g1y8CyRr4UnQe9r9kA6AFlg8wtlCk0IH7WQU 856.49 kB 0.000278941755 application/javascript css.worker.js
RloQC3pV07vGPxBMvpMwLjeI27lU0_ATlkdajtsxGxA 18.43 kB 0.000006996532 application/javascript precache-manifest.3cd9ef1987679cff113acec75febe746.js
t7dIquTMoAV09ltTNMNQlBoDYXr5XOjHDMlvXhKZzHc 87.78 kB 0.000029500218 application/vnd.ms-fontobject resources/icons/icons-16.eot
YM9oNtMBJfaAJa0it4uK6XiCBR4DTg5ftV2HKxXSuqk 955.00 Bytes 0.000001319830 application/javascript sw.js
SPHIeDg_qh6nj_HNru-uWT6QsOloqGZTkGC77Sn5rUI 9.94 kB 0.000004241206 image/svg+xml pr.svg
F50mgplx22KIahVvGPUjdFPKwzVCNWFD7NMLVlWgeJ4 1.08 kB 0.000001367364 application/javascript 20.bundle.js
ipSloSKEJx6GkEr8rp1siGJptZHivv6uO_WawTV7Dn4 4.44 kB 0.000002459037 application/javascript 19.bundle.js
x77ScPvwQ9YyszAz2nbslN0qR-6Y37A8Ix1iXTy2eOg 11.39 kB 0.000004711783 text/css 17538286601bad192fed6ba2b3bde2b5.css
T_-7BnS9tXy25CSUtfgOer0kAdfFqegXeg4-YEs0IlA 76.00 Bytes 0.000001041288 text/css 92b2b575363ade40790d8020b4beb4ce.css
b7HgkWFL_kLza9nhydJ6nf5oQBPO_UMxA5GDoV6ORdc 175.00 Bytes 0.000001072659 text/css 6aa0767b9df36e5fc4e412c6c44d8767.css
gbHeA0E8QYCEEo293L9jF7Dd1_ma8wvgT1x_mRzllmE 781.00 Bytes 0.000001264693 text/css 95cda32174e326413b7f617b4b72cb36.css
SSbqG0zcl2OdgY9CKP3LNjjkdqLbhWlabFlvwzNzuU0 7.85 kB 0.000003564020 application/javascript 30.bundle.js
-Iz4Xgi6Qra52QjD1NDruWIZf8KPJjxQR8d5bLFukJQ 1.30 kB 0.000001438980 image/png assets/icon-32x32.png
rGv3yXUN5PR0LekMjlkbrDPFHy6gZ7DQPuwMyYg36gQ 106.00 Bytes 0.000001050794 text/css 99114ae4509b731eeb73189f23497452.css
xTfZJ0nrmmGRO4VfKxzw_BWSw0bP_2ubNB7ATcjOdIQ 114.00 Bytes 0.000001053330 text/css 5f0653c0b6068bd6cf16d28f69478606.css
uPRAVGpYJnF5_eXqUzmuBQ6jC-dm1KVrHxP4X6JLOaE 3.11 kB 0.000002027755 text/css 964e9a729704ac55d7e6a8c1803be992.css
joO9swpM-o47EJxOqVRjGL_k1QOuyAlcxTcQr5SjYdM 297.69 kB 0.000097616526 image/jpeg assets/bg-showcase-1.jpg
LgtOMTMPswoE3svCpW6GCWG1c7nkf6Kf76G8knybysM 1.07 kB 0.000001362927 text/css 59510c7ef36116c661ca255529b00466.css
MkdR9bs6xCuo6dbKwcaczPFtKz9Yz2hp4c9Bj8zcC9w 2.93 kB 0.000001967863 text/css 384b9810fd78dc10d0fe68c958edccfd.css
ZTRe6NAerqfr68tz5gL2-yroWgoL_WaJNlSQa5ARwrE 78.00 Bytes 0.000001041921 text/css 83f1331fb75bb92481ebdda6a9898ef1.css
ixKB3rxukZXzpf5ZTCgry7Xp7XnMt0jZmdaPaWrRR28 20.08 kB 0.000007532071 application/javascript 55.bundle.js
srHEWZSPYevmC5J3ro9Yttm6QCjW97cGqZ76074q4xM 243.56 kB 0.000080050881 application/javascript assets/browserfs.min.js
_gogrShvi-AhXUpvgux4bLTMgcJkPqBRBRzmN_Wkae8 5.77 kB 0.000002889369 application/javascript 6.bundle.js
AwFG4WRZxhvZxpj28LtqmQdj9-nBnc6MLwxtDjeblRc 91.00 Bytes 0.000001046041 text/css f2c79b306e583e148517f2e830e1ea63.css
VKiMjYaAkWO-HC9t9pXuSctnDLvoU0DiRLaKOaKBWK0 53.00 Bytes 0.000001033999 text/css 9fbc4af260eca56689c737437a719980.css
3Rqmro-I-48UusIol8zSVnlob8HfrQKqMxIkNDa1BN0 16.55 kB 0.000006386210 application/javascript 32.bundle.js
C1tIHBSDBrc_shy0ZFVKNYPK_DpeD__FGd0pJ4edkkU 4.86 kB 0.000002593080 text/css 313312491599c105b740884e42f01690.css
9wM_wpuZXpgE57xiyeX1zmZKRn1U2zOid8SZSgBmb8E 15.13 kB 0.000005925457 font/woff la-regular-400.woff
b4ehmPJ5hSjIeaDGWbH9mVCCjCBp9Rs05cawHC7qvew 3.30 kB 0.000002088597 text/css e7deab6c5d27b77833530dfadd6d6a25.css
SSIF0egxs76ej0fAIryiFH8hUybV9GmpoA2i7L1PLrY 542.00 Bytes 0.000001188957 text/css 911ff4e29e000b0e3e4d260fb165670d.css
BWDPZvpqowaEamwW045q_Ed8k9GWe-h1YoOoF-hP6xs 7.29 kB 0.000003383078 text/css c10fe29bc4b83f2f5ba4927978cc770f.css
YqaKq6VEY0Aty2oOxGuniAXjseFNwOPv-x02gA4CYZg 216.00 Bytes 0.000001085652 text/css bd3ee47e04fde76fbf3113d6a2b0d05e.css
tWv2iBZUCmNJU5oAwCoP1CoqD7ARFCSeid8y-HvXwG4 1.11 kB 0.000001378137 text/css a181e5007ca0fccfb37efd64718f2470.css
Xpm2U0Xf4F3COqB1u1oU6FZ4xMn6QjR2rn8yIbOrivw 41.00 Bytes 0.000001030196 text/css ce82c146bf268d2d93a66220148d5e51.css
LrREwtYb5v8X70sdIGxf1_LMMNEdIRF_ySQ4NeExjR8 188.97 kB 0.000062336934 image/jpeg assets/testimonials-2.jpg
6jOXDI6L0R3ZQDaUhA8SDZKCahlNwYORAcxezNTgXqo 2.51 kB 0.000001831602 text/css b73ba2ac1b84e7307a897bfe3e77c79d.css
_l6ThDzLwEfE0Mp3ufUNmA-v7nZtRY5ifjL0OiRKBU0 3.37 kB 0.000002111096 text/css e2b4e330b9e1effef6577700d635281e.css
bR8a6hqlkABqhrFa9ZK_AEgIGXiAFXeInfLRdTfawkk 3.88 kB 0.000002275876 application/javascript 7.bundle.js
bCp6MuKq-X2E1JQtSt257Cutn5wj-Mxk4Wwlv0L-qf8 17.76 kB 0.000006778832 image/png assets/icon-152x152.png
L57onyGypONjPLPI9eOtZe1PQPtHnJmkYIIKyQszPC0 8.26 kB 0.000003696162 application/javascript 37.bundle.js
lVWF97O1j0rB6N9xGcFHRCIvMNRqbpTgVipnP4EcijU 245.00 Bytes 0.000001094841 text/css 1552186dd6981433b016bf1f6009d05f.css
Ue4tmJhe-K8yREFQb3qFHKwtQVL52qHaZGpbWUTeVWw 2.88 kB 0.000001951702 application/javascript 16.bundle.js
fiIWXTmqCy30-dkc5bj0pTKiHUOmzIVbLhqyGaWVaIE 5.99 kB 0.000002960985 application/javascript 18.bundle.js
IsEFRijXajiyRzXOjYf3uOJYzEmqGxw7lvBIuPEzlAo 2.17 kB 0.000001719741 image/png assets/icon-48x48.png
3WXfg3AcgZl5hW0qO8bCX6ACcVsuGgX00042y3GHQ8I 152.41 kB 0.000050474293 font/ttf la-brands-400.ttf
o_rNsaw5XwWnpZFQV2G6U9ererCj-TVoUyl6YYpq5jk 90.42 kB 0.000030357079 application/vnd.ms-fontobject resources/icons/icons-20.eot
Y9FUPFRAp2INYZz0Nwte6Wj1cuRWauZD9Ii33Uc07z8 1.80 kB 0.000001602811 application/javascript 9.bundle.js
51Mv8tQe3ZWnOC7-0_SgpvjhheFuJDPGNAro3hlzmRA 3.93 MB 0.001308326188 application/javascript typescript.worker.js
t5QIPuvwkTpB8ELx1pmObxlbb0nRoOTnDUkDez6JxVs 851.00 Bytes 0.000001286875 application/javascript 8.bundle.js
B7gOpSKhyckND-0h1gcGZlLuyfpv6nVUmMQ1oTidg6s 10.69 kB 0.000004486159 text/css 6d82f7ca7c3a985eee69ff045012c2e8.css
2p9vig5b6WAwtGtWiaWLLzvDnvIYWBLTYp2tmaEB25s 6.26 kB 0.000003049396 application/javascript 44.bundle.js
k4ys8w4GsfY5bELszLfAaRBWjGC0UFpELMJRQMkZeT4 938.63 kB 0.000305594750 image/jpeg assets/bg-masthead.jpg
IM_cFPyqhbZHakhRRAdm-rTpiekHYKhf3B2thVpCtgc 91.00 Bytes 0.000001046041 text/css 4195056fbe119a7675c475381702250a.css
kJnYhyQyaVlBc2dskykgHKDnoBlor0zfnk73WIqlqyo 2.59 kB 0.000001857270 application/javascript monaco.bundle.js
LOvBQR3DVXQI_Gb4Pp4JOtgKoGjgBXEVz9VJsu8aE90 5.00 kB 0.000002641246 application/javascript 0.bundle.js
g3GYOsgq7eY1rIstw-N_4Z2rHEpKrPQr0qLYPe8my8o 45.00 Bytes 0.000001031464 text/css 8d8bb6221632b87643667e6c2ef1c66c.css
sd70ohQHx1bz3X20PQWB9QWEV1O_2XFf5EdXvCOHN_I 19.36 kB 0.000007299159 image/png assets/icon-384x384.png
Tl02CYnveQa1oePFhifsnu3Fw8oEcxXHd2iJWslzhz8 1.80 kB 0.000001600275 text/css 4666823656fe4e997ff35ae8317b1e10.css
CEmHREGhmJUD2r_-WkOTo3cB6AW5vK6WyU0gWHspq5k 179.00 Bytes 0.000001073926 text/css 48b96ee90029e15ff7a06c67e6d307b4.css
Y5k1LlHMI-LNsEL1jMoKhQBBt1e7gH5YwIeXW5qjnsY 441.00 Bytes 0.000001156951 text/css f46595fc9d65f63c13dd930ec02ece23.css
xwYR1LC1LwUAxZ-B8PGMsalJVU9U4tZDVjNrEOfmJbo 46.00 Bytes 0.000001031781 text/css 4672c8092a91de977cb711d8590d8e5a.css
DQAvHv8_5MBoIYJ6AmEn0_ucYxbrUd9RWmZTN4iNWc4 5.57 kB 0.000002824090 application/javascript 51.bundle.js
wBxkiBkztyXsN7Yas3S4OQvdANC8dt-IuXFMz7AaJxM 3.83 kB 0.000002261300 application/javascript 41.bundle.js
gUFwfVUpBuc84hYfEI6EtW6OoGKIT0J6hTmDWzHDLuk 1.84 kB 0.000001615485 text/css 8dba0bd5c3b0e70c0b1ceaedfec741dd.css
Pi9ZnYzUBxzdq_p5M5o9aGd7DaAevm58e9z2cBpofA0 4.03 kB 0.000002325945 application/javascript 49.bundle.js
0ux18reBpt2KAlq9aqYPWm-6WojgOWKS3eLVhHJvphk 18.15 kB 0.000006907171 application/javascript 46.bundle.js
0ArnKYS8wZpGOL37aZlBTt7BDDdfvX0DRQRBCpf2ZUs 772.00 Bytes 0.000001261840 text/css bc8270ec493f95dee30a3b36d042c856.css
CVibMh6T9NFPLkBFKYSjJv5aRhSHvYHnmIFV9qBEvi8 75.35 kB 0.000025468156 font/woff2 fontawesome-webfont.woff2
6qBEZgE_6tS7VYru5XWWowL4S0mdMRwhSQ337GXBJG4 2.60 kB 0.000001860439 application/javascript 17.bundle.js
u158XLYn-3MNa5tidrekmYrTy9jv39Mh2N85EguKGzM 1.95 kB 0.000001650660 application/javascript 15.bundle.js
c4_rRrIwF53Zw6uZHysrMVs_r6-FpiMqxHpwmFOD2j8 674.00 Bytes 0.000001230786 text/css 851d938fb9d513471a9cc5423e82f4d4.css
XlWAscxfyaLTtESeLTlIqpQQsAfyjFLmjV12MDA9rKQ 2.03 kB 0.000001677278 text/css 17f42af3d1f9b8d0511e3d54710b2538.css
mnQb8W3k8MGJuDeu3hte1_ZhpeEh2tstmL26ptZo6VU 1.73 kB 0.000001577776 application/javascript 43.bundle.js
AG7yBaF00ql_DNt4bX5kKLY_DJzRsUlzz4Fv-XcfmrE 4.43 kB 0.000002455551 application/javascript 12.bundle.js
E6x6HFduOkSiyQExiXl5uZ2GENrAJvYmYi_6WmBxIFg 229.00 Bytes 0.000001089771 text/css 6a2b0d762d432c51a6fd6c2ba5dce32e.css
CCMVz1QmlB_UQ4sqATM3ap3-xXQjC5N47EcbFIccvTo 643.00 Bytes 0.000001220962 text/css 9d39183e58aacba3c45eb87178165522.css
yX8mMInq_jMglKqRxH3JnfEm9PBBxFjrmim6Jho0mw0 26.95 kB 0.000009762634 application/javascript 56.bundle.js
7tmSszKY-mrs6oYXoJ9tmgTfPWpC89bTC13uaOY77EU 31.70 kB 0.000011304286 text/css 7876de2b21092ecc4edc9b909fe959e4.css
bYoUBb10HkioKwnIwfn5unvvJCKK2yq5eTu8nbx3q7c 901.51 kB 0.000293551166 image/svg+xml la-solid-900.svg
-LeyhdcmIltEvxnz4t58HiwEHiMCCkO9ZAIbNdb42A8 1.17 kB 0.000001397785 text/css 30f4be39db98765a8bfc5ee099b78ecc.css
iel4gSB0qSdiVrnETt3IuzYMeujPQ81Q2tWiacDPEjE 2.51 kB 0.000001831285 application/javascript 10.bundle.js
tg498ZDB6NYhKO2JhCTSpNoVtnO4UoXQfyb0bocwKxA 586.00 Bytes 0.000001202900 text/css ffc3077875aa839c4b30b522e770d7ce.css
FvI04w60Zro4qWnhIRk8Ynld5NTUj7Tkc2SjbpIpkxI 91.00 Bytes 0.000001046041 text/css ed32459d79e3b78c3b8b4d9b64401233.css
9lzHxnyhZK093esNjmMbs3m85Fk0zZMdORsKSdX46Jw 52.99 kB 0.000018211459 text/css f1c8f78c6afcb38465cd2c6042004e48.css
iwuI_53YLLzzEl1ue0u8upxLl-6LMD0A8ujnrzjzFOo 527.00 Bytes 0.000001184203 text/css 1c2f8cb14edf99272b6c3aa20515a470.css
Z0L1m9AkTSAwsUytAwb-7Q4wW0IV3nkKhLXUf8nasP8 11.51 kB 0.000004752027 application/javascript 39.bundle.js
Soo7Usw32mAHqVQ2dO9RfGnwi4LcelozoCPgekzKsdQ 43.00 Bytes 0.000001030831 text/css 0ac2f0cabd96acc9098bfcc79c4d6916.css
YD8FRAvhS1qkJrzaR5y5Bq1gdPG-TAo2P9GztVGCwrI 7.68 kB 0.000003507931 application/javascript 31.bundle.js
XziGF3k5dtY4pLfAhRcZEoom7OgARJp35geS24i9SPs 944.00 Bytes 0.000001316344 text/css 42f964e0e05a5aa7e420d7ad0a10fcb8.css
2Phi-6fVx68HMUxpEKDxJ2ZxqRI3qh-8gbH6X3biynw 53.00 Bytes 0.000001033999 text/css 9ba48dc8163943d38fe163e11fc8c563.css
7r4E16d13AEy6thNHt6WwaJ93AcAAirJykhIfInKXi4 1.65 kB 0.000001552108 text/css 646c653ef79278fa65dd9f9b0a099aee.css
AQUZDzGOu-U4nbpmICbgOi6xvF-HQ_N6vhsGBeiJWEI 82.79 kB 0.000027880294 font/woff2 la-brands-400.woff2
D3wBUHtoDchUURviCvIWK-ZWaNIFFO8hGG6pXdHOr-c 3.31 kB 0.000002092400 image/png assets/icon-72x72.png
hZPAxAEKFU8ijvCJ3CupvCGxFHurdQILz2ZCcTwDmE4 2.34 kB 0.000001776147 text/css 8ef7025401d95a0b9a68ea4021a20b65.css
gglphq3DX4hvQOxI5DIkZFkOcJjF7Q4o3uFOk0ibRs4 7.94 kB 0.000003592539 application/javascript 40.bundle.js
FfXkT1MGK1eRu5BZwEZ0q5K8OrbSYjomekXnAXvacOE 375.00 Bytes 0.000001136037 text/css 3e1455939e40cca267e186371fd826e7.css
nlD0FGnCciLgJZBMty2qaa1jWemzbbjttZojW9OnAzQ 57.09 kB 0.000019543648 font/otf assets/Inconsolata.otf
0G_PieyOrB1VAXojZCzvX9vyu5pQ32zI6sSrbR7ZbGg 65.43 kB 0.000022249858 font/woff Flaticon.woff
erFiJ-Ifq6SAhe4rOMoOJROa12HB9R9VI2V-_8G02Eo 547.00 Bytes 0.000001190541 image/png assets/icon-16x16.png
OL3YTM7FxV_Y2JmcgCHG5CF_-Rx9P5ZFzo3vCc0Q308 70.11 kB 0.000023765842 text/css 9f684cc5e10cd83e2145a0ab36c73c1f.css
Oeh9cwkVg9vDTv7U7GcHt5opiaEklgI9jgCjs5tUW7k 3.48 kB 0.000002145320 application/javascript 38.bundle.js
gTBUCGkFcuFFR7Dv8CmkJz1ukUWDKw5gcoLgOq4JU3c 1.26 MB 0.000419657996 image/jpeg image.jpg
LkKDKA-88rbp5RpIDFuNIUboZ5iavQH2nqY33J6h2ik 106.19 kB 0.000035474793 image/svg+xml glyphicons-halflings-regular.svg
Cannot read property 'padEnd' of undefined
"arweave deploy" breaks on pages with SVG images
arweave deploy
and arweave package
jumps out with following error on HTML files included an SVG image:
Error: ENOENT: no such file or directory, open '//../../.svgo.yml'
Just run the command arweave package index.html output.html
with the simple index.html
file, wich contains an SVG image:
<html>
<body>
<img src="https://upload.wikimedia.org/wikipedia/commons/4/4f/SVG_Logo.svg">
</body>
</html>
Broken by InlineSource lib?
Not really, the same file can be compiled by pure inline-source and same options without troubles.
The reason for the error
The error will be returned by SVGO. In our case the file path to the SVGO configuration cannot be resolved because Arweave compiles all dependencies into a single arweave file.
Solution
I've spent a lot of time, but I could't find a solution for the problem.
View balance of another account
A very useful feature would be to view the balance of another account
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.