Comments (12)
I just tried
npm install
npm start
it worked but the page was unable to load properly
from block-dx.
from block-dx.
from block-dx.
I got a blank blue page
from block-dx.
npm install
npm start
npm run start-app
Requires the Blocknet wallet with configured blockchains:
https://github.com/blocknetdx/blocknet/releases/latest
More instructions here on how to get started with Block DX:
https://docs.blocknet.co/blockdx/setup/
from block-dx.
npm run start
Worked but only produced a blank blue page
npm run start-app (either on its own OR in a separate terminal while start app was running)
both produced error...
^C[user@disp5602 block-dx]$ npm run start-app
> [email protected] start-app /home/user/block-dx
> electron .
/home/user/block-dx/node_modules/electron/index.js:14
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/home/user/block-dx/node_modules/electron/index.js:14:11)
at Object.<anonymous> (/home/user/block-dx/node_modules/electron/index.js:18:18)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/user/block-dx/node_modules/electron/cli.js:3:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start-app: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start-app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2019-07-26T16_16_17_568Z-debug.log
from block-dx.
I have only reviewed and tested it today and i have came accross this error
and as u can see this error tells u the problem
from block-dx.
so you can therefore manually delete /home/user/block-dx/node_modules/electron/
from block-dx.
If still having errors, I suggest starting from scratch.
- git clone https://github.com/blocknetdx/block-dx.git
- cd block-dx/
- npm install
- npm run start
- npm run build (new window)
- npm run start-app (in same window as previous step)
After the last step Electron will open and launch the app.
As stated by magic53, you will also need the Blocknet wallet and the wallets of the assets being traded setup and synced.
from block-dx.
If still having errors, I suggest starting from scratch.
- git clone https://github.com/blocknetdx/block-dx.git
- cd block-dx/
- npm install
- npm run start
- npm run build (new window)
- npm run start-app (in same window as previous step)
After the last step Electron will open and launch the app.
As stated by magic53, you will also need the Blocknet wallet and the wallets of the assets being traded setup and synced.
the last command has error
from block-dx.
If you're running into issues I recommend building with docker, it has a clean build environment. Otherwise make sure you're using the latest Node LTS v10.16 (npm v6.9.0): https://nodejs.org/en/download/
To build with docker:
cd block-dx
docker build -f Dockerfile-linux --build-arg GIT_BRANCH=master -t blocknetdx/block-dx:master .
docker run --name=blockdx -it blocknetdx/block-dx:master run build-native
docker cp blockdx:/opt/blockdx-ui/dist-native ~/
The executable will be in ~/dist-native/linux-unpacked
after you copy it from the docker build environment.
from block-dx.
BLOCK-DX compiles with no electron error on windows
from block-dx.
Related Issues (20)
- wallets with a low number of utxos cannot place orders (balance shown as zero) HOT 1
- Error: Unable to create order. Either the Blocknet wallet is still loading network data (takes a few minutes after syncing completes) or no nodes on the network are currently supporting this trade pair. (API: dxMakeOrder, Code: 1032) HOT 2
- Windows Advanced Installer Freeze
- Missing Emercoin
- Appimage not working on fedora 34
- Sleeper devs, please respond to your 3 year old issues
- [BUG] Failed orders showing on the graph and price data - reported
- [BUG] Chart doesn't update after successful trade
- Automate min_size
- [DESIGN] Block DX UI v2.0
- ENH: enable BlockDX to startup using an alternative config source than the standard AWS one HOT 1
- need to include package-lock.json in repo HOT 1
- Test task
- [Milestone 1] Rebuild BlockDX UI in React JS based on the design prototype
- [Milestone 2] Implement the new navigation and module layouts based on the design prototype
- [Milestone 4] Replace current charts with Trading View
- Left sidebar module
- Block DX Client for linux- Sha512sum different from publiced YML on github and website HOT 2
- Block DX not working on Ubuntu 22.04 (no trades, no orderbook) HOT 1
- No code signing for macOS download of Block DX v1.9.5 - web site still offering outdated v1.9.2 download
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 block-dx.