question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to install prisma client 2.9 with Node 8

See original GitHub issue

Install client give following output.

npm install @prisma/cli --save-dev

> @prisma/cli@2.9.0 preinstall /Users/alexander/src/github/weighing.machine/weighing-machine-1/node_modules/@prisma/cli
> node preinstall/index.js


> @prisma/cli@2.9.0 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 weighing-machine-1@1.0.0 No description
npm WARN weighing-machine-1@1.0.0 No repository field.

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
AlexSenchenkocommented, Oct 15, 2020

@janpio @Jolg42 @pantharshit00 npm output was not really descriptive. As you can see above nothing in output the above node version. Yarn is better, display a direct message about node version incompatibility.

1reaction
Jolg42commented, Oct 15, 2020

My guess is that "install": "node download-build/index.js", happens and breaks the flow before npm outputs the Node version warning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System requirements - Prisma
Prisma supports and tests all Active LTS and Maintenance LTS Node.js releases. · TypeScript is only required for TypeScript users. · When using...
Read more >
Error: TSError: Unable to compile TypeScript - Stack Overflow
First I remove ts-node and typescript from package.json . then, npm install ts-node --save-dev npm install typescript -g npm install ...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
status:RESOLVED resolution:OBSOLETE severity:normal · Bug:293760 - "sys-libs/glibc-2.9_p20081201-r2 - some tests failed" status:RESOLVED resolution:OBSOLETE ...
Read more >
warning: kite has been deprecated because it is not ... - You.com
facebook/inferError when installing with homebrew#1607 ... Installing dependencies for node@10: icu4c ==> Installing node@10 dependency: ... with-prisma
Read more >
R2022-08 (cumulative patch) - 8.0 - Talend Help Center
Installing the patch using Software update in Talend Administration ... TUP-36157 - Error when install Bigtable in studio: Illegal character ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found