problem with dependencies
See original GitHub issueShort Description: build error when using package
Platform:
- ubuntu 16.04
node version:
- v10.1.0 and v8.11.2
npm version:
- 5.10.0 and 5.6.0
Long descrption After each assembly produces an error:
These dependencies were not found:
* child_process in ./node_modules/shelljs/src/exec.js
* dgram in ./node_modules/native-dns-cache/lookup.js, ./node_modules/native-dns/lib/server.js and 1 other
* fs in ./node_modules/native-dns/lib/platform.js, ./node_modules/node-binance-api/node-binance-api.js and 20 others
To install them, you can run: npm install --save child_process dgram fs
code
const binance = require('node-binance-api');
set dependencies several times, tried different versions of nodejs, also tried to use yarn
thank you
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Defending your code against dependency problems
Problems can occur if your software relies on a specific version of dependent software, and that dependent software is not available on a...
Read more >What is Dependency Hell and How to Avoid it? - Boldare
Dependency hell (otherwise known as JAR hell, or classpath hell) is a phrase used to describe the difficulties encountered by software ...
Read more >Solving the World's Open-Source Software Security Problem
The problem is that the open-source software supply chain can introduce unknown, possibly intentional, security weaknesses. One previous ...
Read more >Solve the problems with dependencies in Java
The problem appears in figure 2 because the libraries use different versions of the same library so Maven/Gradle tries to resolve the conflict ......
Read more >What dependency hell looks like, and how to avoid it
Everyday dependency issues · The library code might just be terrible! · Many packages are poorly maintained. · Documentation can be poor or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the missing dependencies are due to the fact that vue is trying to call node-binance-api library on the browser-end, which doesn’t have node libraries such as fs, dgram etc, because they are typically server-side libraries… The solution is simply trying to keep all the node-binance-api calls only on the server side. I use nuxtjs framework with server api middleware. All node-binance-api calls are made via axios to the server api.
June 2019, the problem still occurs and this is the solution. Thanks @pujitm