Skip to content

Error during installation of TiShadow #562

@ferdi2005

Description

@ferdi2005

Installing TiShadow on (nvm) Node v10.16.3 with NPM 6.9.0 (tried also last version of node).
It returns this error during post-install I think:

> tishadow@2.10.1 postinstall /Users/ferdi2005/.nvm/versions/node/v12.10.0/lib/node_modules/tishadow
> node cli/tishadow express

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

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/Users/ferdi2005/.nvm/versions/node/v12.10.0/lib/node_modules/tishadow/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/ferdi2005/.nvm/versions/node/v12.10.0/lib/node_modules/tishadow/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/ferdi2005/.nvm/versions/node/v12.10.0/lib/node_modules/tishadow/node_modules/configstore/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)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tishadow@2.10.1 postinstall: `node cli/tishadow express`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the tishadow@2.10.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!      /Users/ferdi2005/.npm/_logs/2019-09-24T18_31_27_460Z-debug.log

The complete log extracted from /Users/ferdi2005/.npm/_logs/2019-09-24T18_31_27_460Z-debug.log is https://gist.github.com/ferdi2005/17bf315096adaa3d48119c3d7e6a1b87.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions