Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install? #13

Closed
nbtcash opened this issue May 16, 2022 · 3 comments
Closed

How to install? #13

nbtcash opened this issue May 16, 2022 · 3 comments
Labels

Comments

@nbtcash
Copy link

nbtcash commented May 16, 2022

Hi,
How to install this app?
cp .env.example .env

install node 12?
npm install

`leo@leo:~/Desktop/bho-apps$ npm install
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated dmg-license@1.0.11: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at: argv-minus-one/dmg-license#11
npm WARN deprecated cids@0.7.5: This module has been superseded by the multiformats module
npm WARN deprecated multibase@0.6.1: This module has been superseded by the multiformats module
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module
npm WARN deprecated multibase@0.7.0: This module has been superseded by the multiformats module
npm WARN deprecated cids@0.8.3: This module has been superseded by the multiformats module
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated multibase@1.0.1: This module has been superseded by the multiformats module
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.

bufferutil@4.0.6 install /home/leo/Desktop/bho-apps/node_modules/bufferutil
node-gyp-build

utf-8-validate@5.0.9 install /home/leo/Desktop/bho-apps/node_modules/utf-8-validate
node-gyp-build

highlight.js@9.18.5 postinstall /home/leo/Desktop/bho-apps/node_modules/highlight.js
node deprecated.js

----------------------------------

Verion 9 of Highlight.js has reached EOL. It will no longer
be supported or receive security updates in the future.
Please upgrade to version 10 or encourage your indirect
dependencies to do so.

For more info:

highlightjs/highlight.js#2877
https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md

----------------------------------

es5-ext@0.10.61 postinstall /home/leo/Desktop/bho-apps/node_modules/es5-ext
node -e "try{require('./_postinstall')}catch(e){}" || exit 0

electron@12.2.3 postinstall /home/leo/Desktop/bho-apps/node_modules/electron
node install.js

styled-components@5.3.5 postinstall /home/leo/Desktop/bho-apps/node_modules/styled-components
node ./postinstall.js

polkadot-apps@0.110.2-4 postinstall /home/leo/Desktop/bho-apps
polkadot-dev-yarn-only

FATAL: The use of yarn is required, install via npm is not supported.

Technical explanation: All the projects in the @polkadot' family use
yarn workspaces, along with hoisting of dependencies. Currently only
yarn supports package.json workspaces, hence the limitation.

If yarn is not available, you can get it from https://yarnpkg.com/

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! polkadot-apps@0.110.2-4 postinstall: polkadot-dev-yarn-only
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the polkadot-apps@0.110.2-4 postinstall 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/leo/.npm/_logs/2022-05-16T02_25_32_942Z-debug.log`

npm start
or
yarn
yarn start?

@naviocean
Copy link
Contributor

@nbtcash try to use node 14.x version and then following steps below

  • install packages: yarn
  • setup env: cp .env-example .env
  • for dev: yarn start
  • for production: yarn build

@naviocean
Copy link
Contributor

This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.

@naviocean
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@BHONetwork BHONetwork locked as resolved and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants