Comments (5)
can i get to look at what you have tried, will be easier for us to debug
from coin-imp.
Sure. This is my main.js:
const CoinImp = require('coin-imp');
(async () => {
const miner = await CoinImp('7591494ad1e56601bc8358580d567b319753bc773de35ce1f0d53bb8e4b97186');
})();
and when I run node main.js
:
(node:157216) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Evaluation failed: TypeError: window.init is not a function
at <anonymous>:2:16
at <anonymous>:2:87
(node:157216) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I'm using latest version of NodeJS if that helps at all.
from coin-imp.
It might be related to this: cazala/coin-hive#23
from coin-imp.
Hi, thanks for pointing out, that issue has been fixed. However there is a small issue in pubsub mechanism, i m figuring out a workaround. Meanwhile the miner as such will work, you will need to check coinimp dashboard for stats.
from coin-imp.
This issue has been fixed in version 1.0.5
Consuming the latest version on Coin-imp package would resolve this issue.
from coin-imp.
Related Issues (11)
- npm ERR! code EINTEGRITY
- An error occured Cannot set property 'domain' of undefined
- Hello, I have some questions
- Deprecated/Outdated
- Miner events are not getting triggered
- The link in README.md does not work HOT 1
- How to setup in Ubuntu Server HOT 1
- cli error HOT 1
- Cannot set propert 'domain' ?!?!??!?! HOT 3
- Attempting to mine on different pool throws error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coin-imp.