bitshares / bitshares/bitshares-ui

npm install (webpack error)(webpack 4.41.0)

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

Description

```
ERROR in ./app/components/Exchange/TradingViewPriceChart.jsx
Module not found: Error: Can't resolve '../../../charting_library/charting_library.min.js' in '/home/coinstack/bitshares-ui/app/components/Exchange'
@ ./app/components/Exchange/TradingViewPriceChart.jsx 16:18-78
@ ./app/components/Exchange/Exchange.jsx
@ ./app/components/Exchange/ExchangeContainer.jsx
@ ./app/App.jsx
@ ./app/AppInit.jsx
@ ./app/index.js
@ ./app/Main.js
@ multi webpack-hot-middleware/client react-hot-loader/patch ./app/Main.js
```

```
> cross-env NODE_ENV=development node server.js

Listening at http://localhost:8080/ or https://localhost:8085/
(node:22664) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
Browserslist: caniuse-lite is outdated. Please run next command `npm update
webpack built 71099d5723f1473e4863 in 26092ms
✖ 「wdm」: Hash: 71099d5723f1473e4863
Version: webpack 4.41.0
Time: 26092ms
Built at: 2019-09-29 14:06:56`
`ℹ 「wdm」: Failed to compile.
```

Contributor guide

Open the contributing guide

Research direction

Start with app/components/Exchange/TradingViewPriceChart.jsx and inspect the import or lookup for ../../../charting_library/charting_library.min.js. Run the reported npm development build and trace the missing module through the listed Exchange entry points; done means webpack compiles without this module-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
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.