bundle.run links and web browser example in the README are broken
See original GitHub issueThe README gives the following example for getting started with Dat in the browser:
<script src="https://bundle.run/dat-sdk@1"></script>
<script src="https://bundle.run/dat-sdk@1/promise.js"></script>
<script src="https://bundle.run/dat-sdk@1/auto.js"></script>
<script>
const SDK = window.datSDK
// Look at the examples from here
</script>
Unfortunately those script links are broken. Are there updated sources or an updated “Hello World” browser example you would recommend?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
README.md · broken-links-business-ops · GitLab.com / www-gitlab ...
bundle exec middleman build. To test out the site, you must run another Web server from the public directory: (cd public; python3 -m...
Read more >JustinBeckwith/linkinator: Scurry around your site and ... - GitHub
Scurry around your site and find all those broken links. ... README.md ... You can also download a standalone binary that bundles node,...
Read more >File: README — Documentation for panorama-ed/memo_wise (main)
Add this line to your application's Gemfile: gem 'memo_wise'. And then execute: $ bundle install. Or install it yourself as: $ gem install...
Read more >Common Issues - Snipe-IT Documentation
Many issues can be resolved if you remember to run the following commands when you encounter weird errors: These commands should be run...
Read more >How to use links in documentation - Contributor guide
For example, entering https://xref.learn.microsoft.com/autocomplete?text=Writeline in the address bar of your browser displays all the types ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@RangerMauve please ignore my report above. It wasn’t actually an issue with the hyper SDK, but in the
index.html
that was loading it.Since
await
can only be called in anasync
context, I wrappedconst sdk = await SDK(...)
in an async function but initially used the wrong syntax. However, I had to replacewindow.datSDK
withwindow.hyperSDK
, for which I created a PR.In the end, this is what worked for me:
I suggest trying to build the bundle from source locally on your machine if you can. 😅 I guess bundle.run was the wrong choice to advertise in the docs after all.