Giter Club home page Giter Club logo

Comments (12)

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

I just tried
npm install
npm start

it worked but the page was unable to load properly

from block-dx.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

image

from block-dx.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

image

from block-dx.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

I got a blank blue page

from block-dx.

magic53 avatar magic53 commented on September 26, 2024
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.

DorothyRMartin avatar DorothyRMartin commented on September 26, 2024

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.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

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

image

from block-dx.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

so you can therefore manually delete /home/user/block-dx/node_modules/electron/

from block-dx.

hanniabu avatar hanniabu commented on September 26, 2024

If still having errors, I suggest starting from scratch.

  1. git clone https://github.com/blocknetdx/block-dx.git
  2. cd block-dx/
  3. npm install
  4. npm run start
  5. npm run build (new window)
  6. 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.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

image

If still having errors, I suggest starting from scratch.

  1. git clone https://github.com/blocknetdx/block-dx.git
  2. cd block-dx/
  3. npm install
  4. npm run start
  5. npm run build (new window)
  6. 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.

image

the last command has error

from block-dx.

magic53 avatar magic53 commented on September 26, 2024

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.

TTcoinDeveloper avatar TTcoinDeveloper commented on September 26, 2024

BLOCK-DX compiles with no electron error on windows

from block-dx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.