Comments (6)
Seems we'll need to fork https://github.com/nitram509/macaroons.js & https://github.com/Tierion/lsat-js due to incompatibilities. Webpack 5 has removed automatic polyfill loading and it seems we need to add fallback resolve statements into those modules.
Module not found: Error: Can't resolve 'crypto' in '/home/korny/Development/WEBLN/lightning-browser-extension/node_modules/lsat-js/dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
UPDATE: fixed that
from lightning-browser-extension.
working on it...got rid of the item.node error but many other things to fix...keep u updated
from lightning-browser-extension.
no forking for crypto libraries! :D
from lightning-browser-extension.
the not so well documented alias and installing the polyfills manually solved this.
from lightning-browser-extension.
the extension reloader plugin seems to be the issue:
it also seems that this package is not really maintained. wondering if there is an alternative we can use.
rubenspgcavalcante/webpack-extension-reloader#110
rubenspgcavalcante/webpack-extension-reloader#116
from lightning-browser-extension.
we could give https://github.com/webextension-toolbox/webextension-toolbox a spin
UPDATE: oh --> he's struggling updating to wp5
webextension-toolbox/webextension-toolbox#309 (comment)
lets see if we can find a webpack wizard instead
from lightning-browser-extension.
Related Issues (20)
- Prevent google translate
- [Feature] Allow user to select which sites Alby has access too using the already provided mechanism for that HOT 8
- [Feature] Add Nostr badge on websites list HOT 17
- [Feature] Alby page to see my Nostr profile and option to leave tips
- [BUG] Long descriptions widens the screen and we miss an "overflow hidden" there or something
- Add LNFLIP to our website section of the extension HOT 1
- No tipping possible when visiting a YouTube channel with new handles HOT 1
- [Feature] Use general `ConfirmRequestPermission` screen instead of individual ones HOT 2
- Add keysend support to citadel connector HOT 3
- Allow users to see and delete allowance permissions HOT 1
- Add Lightsats project to Websites screen
- [BUG] <Paying empty invoices fails but is allowed> HOT 4
- Docs: Tech stack details HOT 1
- Filter outgoing transactions by account
- [Improvement] Consider replacing html5-qrcode with a smaller alternative HOT 1
- Update account wizzard to support CLN installation ons Umbrel, RaspiBlitz, etc. HOT 1
- [Feature] Add pagination on Your ⚡️ Websites list HOT 7
- [BUG] If I go to websites and I click on some site on middle of the list and then click on back button, should go to the same position I was.
- [Feature] If I never used LNURL login on a site that is on websites list, shouldn't show Enable website login option HOT 1
- Update Podverse logo HOT 1
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 lightning-browser-extension.