Skip to content

Failed to install prisma client 2.9 with Node 8 #3930

@AlexSenchenko

Description

@AlexSenchenko

Install client give following output.

npm install @prisma/cli --save-dev

> @prisma/[email protected] preinstall /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node preinstall/index.js


> @prisma/[email protected] install /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node download-build/index.js

internal/util.js:209
    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
    at promisify (internal/util.js:209:11)
    at m (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:44:2440)
    at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
    at Nr (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:44:5501)
    at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
    at ce (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:2804)
    at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
    at Ye (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:9005)
    at /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:1:164
    at Object.<anonymous> (/Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli/download-build/index.js:47:11054)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @prisma/[email protected] install: `node download-build/index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @prisma/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/0-unknownBug is new, does not have information for reproduction or reproduction could not be confirmed.kind/bugA reported bug.topic: node version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions