bitshares / bitshares/bitshares-ui

npm install (package errors) install fails

Open
#3,081 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

Ubuntu 16 server
16gb ram
2TB
npm -v
5.6.0
node -v
9.0.0

The following package will also not install by themselves. Tried installing the problem packages one by one but with no luck. Any helpful hints?

```
npm WARN lifecycle BitShares2-light@3.1.190820-rc1~postinstall: cannot run in wd %s %s (wd=%s) BitShares2-light@3.1.190820-rc1 npm run install-charting-library /home/user/bitshares-ui
npm WARN @ant-design/icons-react@2.0.1 requires a peer of react@16.x but none is installed. You must install peer dependencies yourself.
npm WARN antd@3.23.5 requires a peer of react@>=16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN antd@3.23.5 requires a peer of react-dom@>=16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN rc-resize-observer@0.1.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN rc-resize-observer@0.1.0 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN rc-switch@1.9.0 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN rc-switch@1.9.0 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-datepicker2@1.0.0-alpha2 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-datepicker2@1.0.0-alpha2 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-interpolate-component@0.12.0 requires a peer of react@^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-perf-devtool@3.1.8 requires a peer of react@^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-perf-devtool@3.1.8 requires a peer of react-dom@^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-qr-reader@2.2.1 requires a peer of react@~16 but none is installed. You must install peer dependencies yourself.
npm WARN react-qr-reader@2.2.1 requires a peer of react-dom@~16 but none is installed. You must install peer dependencies yourself.
npm WARN react-translate-component@0.15.1 requires a peer of react@^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing npm install in /home/user/bitshares-ui with the reported Ubuntu, Node 9.0.0, and npm 5.6.0 versions, then inspect the install-charting-library postinstall output and the listed peer-dependency warnings. Done would require identifying the package installation failure and confirming that npm install completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, react
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.