question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot browserify dat-sdk

See original GitHub issue

index.js is simply const SDK = require('dat-sdk')

In my terminal:

browserify index.js > bundle.js
Error: Cannot find module 'babelify' from '/Users/my_user/Documents/GitHub/project/node_modules/dat-sdk'

So I tried npm install babelify then, again, browserify index.js > bundle.js My terminal:

Error: Cannot find module '@babel/core'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
genderevcommented, Sep 27, 2020

The updated README is good! Thanks for all the help!

0reactions
RangerMauvecommented, Sep 26, 2020

Try the latest Master branch or v2.8.0. I removed the geut sodum-js fork since apparently sodium-javascript should be working correctly now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot browserify dat-sdk · Issue #60 · RangerMauve/hyper-sdk ...
The easiest way is to just start from the SDK bundle and work from there. For the record, I couldn't get the webpack...
Read more >
Using the Dat SDK - Dat Docs - Dat Foundation
The Dat Software Development Kit is a JavaScript library which makes it easy to build applications with Dat for Node.js and web browsers....
Read more >
"Cannot find module" in browserify when not mangling the ...
I have a custom library I'm trying to build with Browserify. The library uses fabric.js ...
Read more >
datproject/discussions - Gitter
edrex I think a change in the hash function would be identified at the level of the repo somehow. So new hash repos...
Read more >
Javascript | Package Hub
ML Classifier is a machine learning engine for quickly training image classification models in your browser. Models can be saved with a single...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found