xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

Prompt in what an error?

Open poloniy214 opened this issue 6 years ago • 15 comments

2018-04-25 03:01 +03:00: Error: Cannot find module 'cryptonote-util' 1|proxy | at Function.Module._resolveFilename (module.js:469:15) 1|proxy | at Function.Module._load (module.js:417:25) 1|proxy | at Module.require (module.js:497:17) 1|proxy | at require (internal/module.js:20:19) 1|proxy | at Object. (/home/shtorm/xmr-node-proxy/lib/xmr.js:3:16) 1|proxy | at Module._compile (module.js:570:32) 1|proxy | at Object.Module._extensions..js (module.js:579:10) 1|proxy | at Module.load (module.js:487:32) 1|proxy | at tryModuleLoad (module.js:446:12) 1|proxy | at Function.Module._load (module.js:438:3)

poloniy214 avatar Apr 25 '18 00:04 poloniy214

That util seems not be installed cd ~/xmr-node-proxy git pull npm install

bobbieltd avatar Apr 25 '18 00:04 bobbieltd

npm install gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/shtorm/.nvm/versions/node/v6.9. 2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:215:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/home/shtorm/.nvm/versions/node/v6.9.2/bin/node" "/home/shtorm /.nvm/versions/node/v6.9.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-g yp.js" "rebuild" gyp ERR! cwd /home/shtorm/xmr-node-proxy/node_modules/cryptonote-util gyp ERR! node -v v6.9.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok

poloniy214 avatar Apr 25 '18 00:04 poloniy214

Hardware / OS info ? Do your CPU have AES-NI ? Non AES is no more supported at the moment.

bobbieltd avatar Apr 25 '18 00:04 bobbieltd

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) Subsystem: Red Hat, Inc Qemu virtual machine Flags: bus master, fast devsel, latency 0

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] Subsystem: Red Hat, Inc Qemu virtual machine Flags: medium devsel

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master]) Subsystem: Red Hat, Inc Qemu virtual machine Flags: bus master, medium devsel, latency 0 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8] [virtual] Memory at 000003f0 (type 3, non-prefetchable) [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8] [virtual] Memory at 00000370 (type 3, non-prefetchable) I/O ports at c0a0 [size=16] Kernel driver in use: ata_piix Kernel modules: pata_acpi

00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01) (prog-if 00 [UHCI]) Subsystem: Red Hat, Inc QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c040 [size=32] Kernel driver in use: uhci_hcd

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) Subsystem: Red Hat, Inc Qemu virtual machine Flags: medium devsel, IRQ 9 Kernel driver in use: piix4_smbus Kernel modules: i2c_piix4

00:02.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA controller]) Subsystem: Red Hat, Inc QEMU Virtual Machine Flags: fast devsel Memory at fc000000 (32-bit, prefetchable) [size=32M] Memory at febd0000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febc0000 [disabled] [size=64K] Kernel driver in use: cirrus Kernel modules: cirrusfb, cirrus

00:03.0 Ethernet controller: Red Hat, Inc Virtio network device Subsystem: Red Hat, Inc Virtio network device Physical Slot: 3 Flags: bus master, fast devsel, latency 0 I/O ports at c060 [size=32] Memory at febd1000 (32-bit, non-prefetchable) [size=4K] Memory at fe000000 (64-bit, prefetchable) [size=16K] Expansion ROM at feb80000 [disabled] [size=256K] Capabilities: Kernel driver in use: virtio-pci

00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device Subsystem: Red Hat, Inc Virtio block device Physical Slot: 4 Flags: bus master, fast devsel, latency 0 I/O ports at c000 [size=64] Memory at febd2000 (32-bit, non-prefetchable) [size=4K] Memory at fe004000 (64-bit, prefetchable) [size=16K] Capabilities: Kernel driver in use: virtio-pci

00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon Subsystem: Red Hat, Inc Virtio memory balloon Physical Slot: 5 Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at c080 [size=32] Memory at fe008000 (64-bit, prefetchable) [size=16K] Capabilities: Kernel driver in use: virtio-pci OS Ubuntu 16

poloniy214 avatar Apr 25 '18 00:04 poloniy214

I can not see any info about CPU. Run this : cat /proc/cpuinfo

bobbieltd avatar Apr 25 '18 11:04 bobbieltd

processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : QEMU Virtual CPU version 2.5+ stepping : 3 microcode : 0x1 cpu MHz : 2400.084 cache size : 16384 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology pni cx16 x2apic hypervisor lahf_lm bugs : bogomips : 4800.16 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:

poloniy214 avatar Apr 25 '18 11:04 poloniy214

It seems there is not AES-NI with your CPU emulation. You can try this non-AES util multi hashing in package.json : "multi-hashing": "git+https://github.com/grunjol/node-multi-hashing.git#Nan-2.0” And npm update or npm install I have not tested it. Give it a try.

bobbieltd avatar Apr 25 '18 13:04 bobbieltd

gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:354:16) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/shtorm/xmr-node-proxy gyp ERR! node -v v4.2.6 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

poloniy214 avatar Apr 25 '18 14:04 poloniy214

I’m not sure if these errors are normal. If I remeber well, normal install gives some error message too.

bobbieltd avatar Apr 25 '18 15:04 bobbieltd

What error message do you have with proxy now ?

bobbieltd avatar Apr 25 '18 15:04 bobbieltd

Error: Cannot find module 'cryptonote-util' 1|proxy | at Function.Module._resolveFilename (module.js:469:15) 1|proxy | at Function.Module._load (module.js:417:25) 1|proxy | at Module.require (module.js:497:17) 1|proxy | at require (internal/module.js:20:19) 1|proxy | at Object. (/home/shtorm/xmr-node-proxy/lib/xmr.js:3:16) 1|proxy | at Module._compile (module.js:570:32) 1|proxy | at Object.Module._extensions..js (module.js:579:10) 1|proxy | at Module.load (module.js:487:32) 1|proxy | at tryModuleLoad (module.js:446:12) 1|proxy | at Function.Module._load (module.js:438:3)

poloniy214 avatar Apr 25 '18 15:04 poloniy214

Can you fork this repo ? I'll make PR (changes) for your repo so you can try to install

bobbieltd avatar Apr 25 '18 18:04 bobbieltd

which add repositories?

poloniy214 avatar Apr 25 '18 18:04 poloniy214

Ouff, it seems hard for you. You should try to rent another VPS (with x64 AES-NI CPU).

bobbieltd avatar Apr 25 '18 21:04 bobbieltd

gyp: binding.gyp not found (cwd: /home/shtorm/xmr-node-proxy/node_modules/node-pre-gyp/bin) while trying to load binding.gyp find . binding ?

1|proxy | 2018-04-26 02:43 +03:00: TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. 1|proxy | at fromObject (buffer.js:262:9) 1|proxy | at Function.Buffer.from (buffer.js:101:10) 1|proxy | at new Buffer (buffer.js:80:17) 1|proxy | at new MasterBlockTemplate (/home/shtorm/xmr-node-proxy/lib/xmr.js:88:19) 1|proxy | at handleNewBlockTemplate (/home/shtorm/xmr-node-proxy/proxy.js:717:32) 1|proxy | at handlePoolMessage (/home/shtorm/xmr-node-proxy/proxy.js:694:17) 1|proxy | at Socket.socket.on.e (/home/shtorm/xmr-node-proxy/proxy.js:657:17) 1|proxy | at emitOne (events.js:96:13) 1|proxy | at Socket.emit (events.js:188:7) 1|proxy | at readableAddChunk (_stream_readable.js:176:18)

poloniy214 avatar Apr 25 '18 23:04 poloniy214