tendermint-node icon indicating copy to clipboard operation
tendermint-node copied to clipboard

ReferenceError: primordials is not defined

Open KrishnaPG opened this issue 5 years ago • 2 comments

When installing this package getting the below error:

> [email protected] install E:\WinApp\fict\tendermint\node_modules\tendermint-node
> node ./bin/download.js

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (node_modules\fstream\node_modules\natives\index.js:143:24)
    at Object.req [as require] (node_modules\fstream\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)

Windows 10 Node.js version: v12.9.1 NPM Version: 6.6.0

KrishnaPG avatar Oct 09 '19 04:10 KrishnaPG

The problem is with unzip package. Created PR https://github.com/nomic-io/tendermint-node/pull/8

KrishnaPG avatar Oct 09 '19 05:10 KrishnaPG

This problem seems to be still an issue on node.js 13.7 - linux and windows

cizza avatar Jan 27 '20 21:01 cizza